mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-08 00:23:03 +00:00
make gemmlowp default for arm (#1701)
* make gemmlowp default for arm * force use_gemmlowp in header for default case * remove unnecessary white space
This commit is contained in:
parent
121d308a33
commit
8813b79c5b
1 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,14 @@
|
|||
#pragma once
|
||||
//#define USE_GEMMLOWP
|
||||
|
||||
// default to gemmlowp when building for arm devices
|
||||
#ifndef USE_GEMMLOWP
|
||||
#if defined(_M_ARM64) || defined(__aarch64__)
|
||||
#define USE_GEMMLOWP
|
||||
#endif
|
||||
#if defined(_M_ARM) || defined(__arm__)
|
||||
#define USE_GEMMLOWP
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_GEMMLOWP
|
||||
#include "core/util/gemmlowp_common.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue