We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afadb48 commit 357bf9fCopy full SHA for 357bf9f
examples/models/voxtral/multimodal.cpp
@@ -283,13 +283,19 @@ MultimodalInput processAudioFile(
283
} // namespace
284
285
// Forward declare the initialization function from aoti_cuda
286
+#ifdef _WIN32
287
+extern "C" __declspec(dllimport) void InitCudaBackend();
288
+#else
289
extern "C" void InitCudaBackend();
290
+#endif
291
292
int32_t main(int32_t argc, char** argv) {
293
#ifdef _WIN32
294
// On Windows, explicitly initialize the CUDA backend to ensure
295
// static initializers in the DLL run
296
+ ET_LOG(Info, "About to call InitCudaBackend");
297
InitCudaBackend();
298
+ ET_LOG(Info, "InitCudaBackend returned");
299
#endif
300
301
gflags::ParseCommandLineFlags(&argc, &argv, true);
0 commit comments