Skip to content

Commit 25667f1

Browse files
committed
remove cuda ifdef
1 parent 6040e3a commit 25667f1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/models/voxtral/multimodal.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,18 +282,14 @@ MultimodalInput processAudioFile(
282282

283283
} // namespace
284284

285-
#ifdef EXECUTORCH_BUILD_CUDA
286285
#include <executorch/backends/cuda/runtime/cuda_backend_init.h>
287-
#endif
288286

289287
int32_t main(int32_t argc, char** argv) {
290-
#ifdef EXECUTORCH_BUILD_CUDA
291288
// On Windows, explicitly initialize the CUDA backend to ensure
292289
// static initializers in the DLL run
293290
ET_LOG(Info, "About to call InitCudaBackend");
294291
InitCudaBackend();
295292
ET_LOG(Info, "InitCudaBackend returned");
296-
#endif
297293

298294
gflags::ParseCommandLineFlags(&argc, &argv, true);
299295

0 commit comments

Comments
 (0)