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)
539539 if (DEFINED WAMR_BUILD_WASI_NN_EXTERNAL_DELEGATE_PATH)
540540 add_definitions (-DWASM_WASI_NN_EXTERNAL_DELEGATE_PATH="${WAMR_BUILD_WASI_NN_EXTERNAL_DELEGATE_PATH} " )
541541 endif ()
542+ if (NOT DEFINED WAMR_BUILD_WASI_EPHEMERAL_NN)
543+ set (WAMR_BUILD_WASI_EPHEMERAL_NN 1)
544+ endif ()
542545 if (WAMR_BUILD_WASI_EPHEMERAL_NN EQUAL 1)
543546 message (" WASI-NN: use 'wasi_ephemeral_nn' instead of 'wasi-nn'" )
544547 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
113113- ** WAMR_BUILD_WASI_NN_EXTERNAL_DELEGATE_PATH** =Path to the external delegate shared library (e.g. ` libedgetpu.so.1.0 ` for Coral USB)
114114
115115### ** 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
117117
118118### ** Disable boundary check with hardware trap**
119119- ** 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