Move USE_RUNTIME flags into runmodel.h

old-commit-hash: 24090d21219cb93de18103cda3a6ada02f4ba3f2
This commit is contained in:
mitchellgoffpc
2023-08-21 19:26:48 -07:00
parent b69de80962
commit b1a10e45d1
2 changed files with 4 additions and 4 deletions

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;

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