We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 801eb2b commit cd3cb6cCopy full SHA for cd3cb6c
1 file changed
core/iwasm/libraries/wasi-nn/src/wasi_nn_onnx.cpp
@@ -14,6 +14,10 @@
14
#include "utils/logger.h"
15
#include "onnxruntime_c_api.h"
16
17
+#if WASM_ENABLE_WASI_EPHEMERAL_NN == 0
18
+#error This backend doesn't support legacy "wasi_nn" abi. Please enable WASM_ENABLE_WASI_EPHEMERAL_NN.
19
+#endif
20
+
21
/* Maximum number of graphs and execution contexts */
22
#define MAX_GRAPHS 4
23
#define MAX_CONTEXTS 4
0 commit comments