Move USE_RUNTIME flags into runmodel.h

This commit is contained in:
mitchellgoffpc
2023-08-21 19:26:48 -07:00
parent 8c478708ee
commit 24090d2121
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -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;
-4
View File
@@ -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