removed opencv from benchmark_app; disabled vpu, gna, gpu plugin builds; disabled opencv by default
This commit is contained in:
parent
4c2c520958
commit
890bbb0bdb
|
|
@ -52,7 +52,7 @@ The software was validated on:
|
|||
```
|
||||
5. Inference Engine uses a CMake-based build system. In the created `build` directory, run `cmake` to fetch project dependencies and create Unix makefiles, then run `make` to build the project:
|
||||
```sh
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DTHREADING=OMP ..
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make --jobs=$(nproc --all)
|
||||
```
|
||||
|
||||
|
|
@ -60,9 +60,7 @@ The software was validated on:
|
|||
|
||||
You can use the following additional build options:
|
||||
|
||||
- Threading Building Blocks (TBB) is used by default. For MLPerf we recommend to build the Inference Engine with OpenMP* (see previous section).
|
||||
|
||||
- Required versions of TBB and OpenCV packages are downloaded automatically by the CMake-based script. If you want to use the automatically downloaded packages but you already have installed TBB or OpenCV packages configured in your environment, you may need to clean the `TBBROOT` and `OpenCV_DIR` environment variables before running the `cmake` command, otherwise they won't be downloaded and the build may fail if incompatible versions were installed.
|
||||
- Required versions of TBB/OMP and OpenCV packages are downloaded automatically by the CMake-based script. If you want to use the automatically downloaded packages but you already have installed TBB or OpenCV packages configured in your environment, you may need to clean the `TBBROOT` and `OpenCV_DIR` environment variables before running the `cmake` command, otherwise they won't be downloaded and the build may fail if incompatible versions were installed.
|
||||
|
||||
- If the CMake-based build script can not find and download the OpenCV package that is supported on your platform, or if you want to use a custom build of the OpenCV library, refer to the [Use Custom OpenCV Builds](#use-custom-opencv-builds-for-inference-engine) section for details.
|
||||
|
||||
|
|
|
|||
|
|
@ -7,12 +7,12 @@ include (options)
|
|||
#these options are aimed to optimize build time on development system
|
||||
|
||||
#backed targets
|
||||
ie_option (ENABLE_GNA "GNA support for inference engine" ON)
|
||||
ie_option (ENABLE_ROCKHOPER "use Rockhopper decoder for converting / output scores" ON)
|
||||
ie_option (ENABLE_GNA "GNA support for inference engine" OFF)
|
||||
ie_option (ENABLE_ROCKHOPER "use Rockhopper decoder for converting / output scores" OFF)
|
||||
|
||||
ie_option (ENABLE_MKL_DNN "MKL-DNN plugin for inference engine" ON)
|
||||
|
||||
ie_option (ENABLE_CLDNN "clDnn based plugin for inference engine" ON)
|
||||
ie_option (ENABLE_CLDNN "clDnn based plugin for inference engine" OFF)
|
||||
|
||||
ie_option (ENABLE_CLDNN_TESTS "Enable clDNN unit tests" OFF)
|
||||
|
||||
|
|
@ -37,15 +37,15 @@ if (NOT THREADING STREQUAL "TBB"
|
|||
AND NOT THREADING STREQUAL "TBB_AUTO"
|
||||
AND NOT THREADING STREQUAL "OMP"
|
||||
AND NOT THREADING STREQUAL "SEQ")
|
||||
set (THREADING "TBB")
|
||||
set (THREADING "OMP")
|
||||
message(STATUS "THREADING should be set to TBB, TBB_AUTO, OMP or SEQ. Default option is " ${THREADING})
|
||||
endif()
|
||||
set(THREADING "${THREADING}" CACHE STRING "Threading" FORCE)
|
||||
list (APPEND IE_OPTIONS THREADING)
|
||||
|
||||
ie_option (ENABLE_VPU "vpu targeted plugins for inference engine" ON)
|
||||
ie_option (ENABLE_VPU "vpu targeted plugins for inference engine" OFF)
|
||||
|
||||
ie_option (ENABLE_MYRIAD "myriad targeted plugin for inference engine" ON)
|
||||
ie_option (ENABLE_MYRIAD "myriad targeted plugin for inference engine" OFF)
|
||||
|
||||
ie_option (ENABLE_MYRIAD_NO_BOOT "myriad plugin will skip device boot" OFF)
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ ie_option (ENABLE_OBJECT_DETECTION_TESTS "object detection tests" ON)
|
|||
|
||||
ie_option (ENABLE_DUMP "enables mode for dumping per layer information" OFF)
|
||||
|
||||
ie_option (ENABLE_OPENCV "enables OpenCV" ON)
|
||||
ie_option (ENABLE_OPENCV "enables OpenCV" OFF)
|
||||
|
||||
ie_option (OS_FOLDER "create OS dedicated folder in output" OFF)
|
||||
|
||||
|
|
|
|||
|
|
@ -8,5 +8,4 @@ file (GLOB HDR ${CMAKE_CURRENT_SOURCE_DIR}/*.hpp)
|
|||
ie_add_sample(NAME benchmark_app
|
||||
SOURCES ${SRC}
|
||||
HEADERS ${HDR}
|
||||
DEPENDENCIES format_reader
|
||||
OPENCV_DEPENDENCIES imgcodecs)
|
||||
DEPENDENCIES format_reader)
|
||||
|
|
|
|||
Loading…
Reference in New Issue