Skip to content
Snippets Groups Projects
Unverified Commit e511e253 authored by Taiqi Zheng's avatar Taiqi Zheng Committed by GitHub
Browse files

[DAP] update CMakeLists.txt and README.md (#27)

parent ec5af243
No related branches found
No related tags found
No related merge requests found
......@@ -104,15 +104,19 @@ endif()
# Find OpenCV
#-------------------------------------------------------------------------------
find_package(OpenCV REQUIRED CONFIG)
include_directories(${OpenCV_INCLUDE_DIRS})
if(DEFINED IMAGE_PROCESSING_BENCHMARKS OR DEEP_LEARNING_BENCHMARKS)
find_package(OpenCV REQUIRED CONFIG)
include_directories(${OpenCV_INCLUDE_DIRS})
endif()
#-------------------------------------------------------------------------------
# Find PNG
#-------------------------------------------------------------------------------
find_package(PNG REQUIRED)
include_directories(${PNG_INCLUDE_DIR})
if(DEFINED IMAGE_PROCESSING_BENCHMARKS OR DEEP_LEARNING_BENCHMARKS)
find_package(PNG REQUIRED)
include_directories(${PNG_INCLUDE_DIR})
endif()
#-------------------------------------------------------------------------------
# Hardware detection
......
......@@ -96,7 +96,7 @@ $ cd <path to build>/bin && ./depthwise-conv-2d-nhwc-hwc-benchmark
## Audio Processing Benchmark
Currently, the image processing benchmark includes the following frameworks or optimizers:
Currently, the audio processing benchmark includes the following frameworks or optimizers:
- KFR ([link](https://github.com/kfrlib/kfr))
......@@ -109,7 +109,7 @@ $ cmake -G Ninja .. \
-DAUDIO_PROCESSING_BENCHMARKS=ON \
-DCMAKE_CXX_COMPILER=clang++ \
-DKFR_DIR=/PATH/TO/KFR/SOURCE/CODE \
$ ninja
$ ninja audio-processing-benchmark
```
## Testing
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment