ENABLE_BATCH
This commit is contained in:
@@ -110,6 +110,8 @@ ie_option (ENABLE_GAPI_PREPROCESSING "Enables G-API preprocessing" ON)
|
||||
|
||||
ie_option (ENABLE_MULTI "Enables Multi Device Plugin" ON)
|
||||
|
||||
ie_option (ENABLE_BATCH "Enables Auto-Batching Plugin" ON)
|
||||
|
||||
ie_option (ENABLE_HETERO "Enables Hetero Device Plugin" ON)
|
||||
|
||||
ie_option (ENABLE_TEMPLATE "Enable template plugin" ON)
|
||||
|
||||
@@ -26,6 +26,10 @@ if(ENABLE_MULTI)
|
||||
add_dependencies(${TARGET_NAME} MultiDevicePlugin)
|
||||
endif()
|
||||
|
||||
if(ENABLE_BATCH)
|
||||
add_dependencies(${TARGET_NAME} AutoBatchPlugin)
|
||||
endif()
|
||||
|
||||
if(ENABLE_MKL_DNN)
|
||||
add_dependencies(${TARGET_NAME} MKLDNNPlugin)
|
||||
endif()
|
||||
|
||||
@@ -38,7 +38,10 @@ endif()
|
||||
if(ENABLE_MULTI)
|
||||
add_subdirectory(multi_device)
|
||||
endif()
|
||||
add_subdirectory(auto_batch)
|
||||
|
||||
if(ENABLE_BATCH)
|
||||
add_subdirectory(auto_batch)
|
||||
endif()
|
||||
|
||||
|
||||
add_subdirectory(inference_engine)
|
||||
|
||||
@@ -48,6 +48,10 @@ if(ENABLE_MULTI)
|
||||
list(APPEND DEPENDENCIES MultiDevicePlugin)
|
||||
endif()
|
||||
|
||||
if(ENABLE_BATCH)
|
||||
list(APPEND DEPENDENCIES AutoBatchPlugin)
|
||||
endif()
|
||||
|
||||
if (NOT NGRAPH_ONNX_FRONTEND_ENABLE)
|
||||
list(APPEND EXCLUDED_SOURCE_PATHS "${CMAKE_CURRENT_SOURCE_DIR}/onnx_reader")
|
||||
endif()
|
||||
|
||||
@@ -12,7 +12,7 @@ addIeTargetTest(
|
||||
INCLUDES
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DEPENDENCIES
|
||||
clDNNPlugin AutoBatchPlugin
|
||||
clDNNPlugin
|
||||
LINK_LIBRARIES
|
||||
funcSharedTests
|
||||
OpenCL
|
||||
|
||||
@@ -16,6 +16,11 @@ if(ENABLE_MULTI)
|
||||
list(APPEND DEPENDENCIES MultiDevicePlugin)
|
||||
endif()
|
||||
|
||||
if(ENABLE_BATCH)
|
||||
list(APPEND DEPENDENCIES AutoBatchPlugin)
|
||||
endif()
|
||||
|
||||
|
||||
# remove once CVS-69781 is fixed
|
||||
if(NGRAPH_IR_FRONTEND_ENABLE)
|
||||
list(APPEND DEPENDENCIES ir_ov_frontend)
|
||||
|
||||
@@ -14,6 +14,11 @@ if(ENABLE_MULTI)
|
||||
add_dependencies(${TARGET_NAME} MultiDevicePlugin)
|
||||
endif()
|
||||
|
||||
if(ENABLE_BATCH)
|
||||
add_dependencies(${TARGET_NAME} AutoBatchPlugin)
|
||||
endif()
|
||||
|
||||
|
||||
target_include_directories(${TARGET_NAME} PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/plugin_tests")
|
||||
|
||||
target_link_libraries(${TARGET_NAME} PUBLIC
|
||||
|
||||
@@ -25,6 +25,10 @@ if(ENABLE_MULTI)
|
||||
add_dependencies(${TARGET_NAME} MultiDevicePlugin)
|
||||
endif()
|
||||
|
||||
if(ENABLE_BATCH)
|
||||
add_dependencies(${TARGET_NAME} AutoBatchPlugin)
|
||||
endif()
|
||||
|
||||
set_ie_threading_interface_for(${TARGET_NAME})
|
||||
|
||||
ie_faster_build(${TARGET_NAME}
|
||||
|
||||
Reference in New Issue
Block a user