Move USE_RUNTIME flags into runmodel.h
old-commit-hash: 24090d21219cb93de18103cda3a6ada02f4ba3f2
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
#include "common/clutil.h"
|
||||
#include "common/swaglog.h"
|
||||
|
||||
#define USE_CPU_RUNTIME 0
|
||||
#define USE_GPU_RUNTIME 1
|
||||
#define USE_DSP_RUNTIME 2
|
||||
|
||||
struct ModelInput {
|
||||
const std::string name;
|
||||
float *buffer;
|
||||
|
||||
@@ -13,10 +13,6 @@
|
||||
|
||||
#include "selfdrive/modeld/runners/runmodel.h"
|
||||
|
||||
#define USE_CPU_RUNTIME 0
|
||||
#define USE_GPU_RUNTIME 1
|
||||
#define USE_DSP_RUNTIME 2
|
||||
|
||||
#ifdef USE_THNEED
|
||||
#include "selfdrive/modeld/thneed/thneed.h"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user