File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -145,13 +145,9 @@ cc_library(
145145 ":litert_environment_options" ,
146146 "//litert/cc:litert_macros" ,
147147 "//litert/core:environment" ,
148+ "//litert/runtime/accelerators:auto_registration" ,
148149 "@com_google_absl//absl/types:span" ,
149150 ] + select ({
150- "//litert/build_common:build_include_npu_enabled" : [
151- "//litert/runtime/accelerators:auto_registration" ,
152- ],
153- "//conditions:default" : [],
154- }) + select ({
155151 "//litert/build_common:build_include_gpu_enabled" : [
156152 "//litert/runtime:gpu_environment" ,
157153 ],
Original file line number Diff line number Diff line change 2323#include " litert/c/litert_environment_options.h"
2424#include " litert/cc/litert_macros.h"
2525#include " litert/core/environment.h"
26- #if !defined(LITERT_DISABLE_NPU)
2726#include " litert/runtime/accelerators/auto_registration.h"
28- #endif // !defined(LITERT_DISABLE_NPU)
2927#if !defined(LITERT_DISABLE_GPU)
3028#include " litert/runtime/gpu_environment.h"
3129#endif // !defined(LITERT_DISABLE_GPU)
You can’t perform that action at this time.
0 commit comments