Skip to content

Commit 61f05c5

Browse files
author
haixuanTao
committed
fix apple gpu download bug
1 parent 69d4913 commit 61f05c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

onnxruntime-sys/wrapper.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#include "onnxruntime_c_api.h"
22
#include "cpu_provider_factory.h"
3-
#include "cuda_provider_factory.h"
3+
#if !defined(__APPLE__)
4+
#include "cuda_provider_factory.h"
5+
#endif

0 commit comments

Comments
 (0)