forked from mindspore-Ecosystem/mindspore
!31692 [MS][LITE] parallel predict : fix java api bug
Merge pull request !31692 from yefeng/269-fix_java_bug
This commit is contained in:
commit
4dc573ab6f
|
@ -37,7 +37,11 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
|
|||
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
|
||||
|
||||
if(DEFINED ENV{MSLITE_ENABLE_SERVER_INFERENCE})
|
||||
set(MSLITE_ENABLE_SERVER_INFERENCE $ENV{MSLITE_ENABLE_SERVER_INFERENCE})
|
||||
set(MSLITE_ENABLE_PARALLEL_INFERENCE on)
|
||||
endif()
|
||||
|
||||
if(DEFINED ENV{MSLITE_ENABLE_PARALLEL_INFERENCE})
|
||||
set(MSLITE_ENABLE_PARALLEL_INFERENCE $ENV{MSLITE_ENABLE_PARALLEL_INFERENCE})
|
||||
endif()
|
||||
|
||||
if(ENABLE_VERBOSE)
|
||||
|
|
Loading…
Reference in New Issue