File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,15 +104,19 @@ endif()
104104# Find OpenCV
105105#-------------------------------------------------------------------------------
106106
107- find_package (OpenCV REQUIRED CONFIG )
108- include_directories (${OpenCV_INCLUDE_DIRS} )
107+ if (DEFINED IMAGE_PROCESSING_BENCHMARKS OR DEEP_LEARNING_BENCHMARKS)
108+ find_package (OpenCV REQUIRED CONFIG )
109+ include_directories (${OpenCV_INCLUDE_DIRS} )
110+ endif ()
109111
110112#-------------------------------------------------------------------------------
111113# Find PNG
112114#-------------------------------------------------------------------------------
113115
114- find_package (PNG REQUIRED )
115- include_directories (${PNG_INCLUDE_DIR} )
116+ if (DEFINED IMAGE_PROCESSING_BENCHMARKS OR DEEP_LEARNING_BENCHMARKS)
117+ find_package (PNG REQUIRED )
118+ include_directories (${PNG_INCLUDE_DIR} )
119+ endif ()
116120
117121#-------------------------------------------------------------------------------
118122# Hardware detection
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ $ cd <path to build>/bin && ./depthwise-conv-2d-nhwc-hwc-benchmark
9696
9797## Audio Processing Benchmark
9898
99- Currently, the image processing benchmark includes the following frameworks or optimizers:
99+ Currently, the audio processing benchmark includes the following frameworks or optimizers:
100100
101101- KFR ([ link] ( https://github.com/kfrlib/kfr ) )
102102
@@ -109,7 +109,7 @@ $ cmake -G Ninja .. \
109109 -DAUDIO_PROCESSING_BENCHMARKS=ON \
110110 -DCMAKE_CXX_COMPILER=clang++ \
111111 -DKFR_DIR=/PATH/TO/KFR/SOURCE/CODE \
112- $ ninja
112+ $ ninja audio-processing-benchmark
113113```
114114
115115## Testing
You can’t perform that action at this time.
0 commit comments