File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -539,6 +539,9 @@ if (WAMR_BUILD_WASI_NN EQUAL 1)
539
539
if (DEFINED WAMR_BUILD_WASI_NN_EXTERNAL_DELEGATE_PATH )
540
540
add_definitions (-DWASM_WASI_NN_EXTERNAL_DELEGATE_PATH= "${WAMR_BUILD_WASI_NN_EXTERNAL_DELEGATE_PATH} " )
541
541
endif ()
542
+ if (NOT DEFINED WAMR_BUILD_WASI_EPHEMERAL_NN )
543
+ set (WAMR_BUILD_WASI_EPHEMERAL_NN 1 )
544
+ endif ()
542
545
if (WAMR_BUILD_WASI_EPHEMERAL_NN EQUAL 1 )
543
546
message (" WASI-NN: use 'wasi_ephemeral_nn' instead of 'wasi-nn'" )
544
547
add_definitions (-DWASM_ENABLE_WASI_EPHEMERAL_NN=1 )
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ cmake -DWAMR_BUILD_PLATFORM=linux -DWAMR_BUILD_TARGET=ARM
113
113
- ** WAMR_BUILD_WASI_NN_EXTERNAL_DELEGATE_PATH** =Path to the external delegate shared library (e.g. ` libedgetpu.so.1.0 ` for Coral USB)
114
114
115
115
### ** Enable lib wasi-nn with ` wasi_ephemeral_nn ` module support**
116
- - ** WAMR_BUILD_WASI_EPHEMERAL_NN** =1/0, default to disable if not set
116
+ - ** WAMR_BUILD_WASI_EPHEMERAL_NN** =1/0, default to enable if not set
117
117
118
118
### ** Disable boundary check with hardware trap**
119
119
- ** WAMR_DISABLE_HW_BOUND_CHECK** =1/0, default to enable if not set and supported by platform
You can’t perform that action at this time.
0 commit comments