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() ...@@ -104,15 +104,19 @@ endif()
# Find OpenCV # Find OpenCV
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
find_package(OpenCV REQUIRED CONFIG) if(DEFINED IMAGE_PROCESSING_BENCHMARKS OR DEEP_LEARNING_BENCHMARKS)
include_directories(${OpenCV_INCLUDE_DIRS}) find_package(OpenCV REQUIRED CONFIG)
include_directories(${OpenCV_INCLUDE_DIRS})
endif()
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Find PNG # Find PNG
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
find_package(PNG REQUIRED) if(DEFINED IMAGE_PROCESSING_BENCHMARKS OR DEEP_LEARNING_BENCHMARKS)
include_directories(${PNG_INCLUDE_DIR}) find_package(PNG REQUIRED)
include_directories(${PNG_INCLUDE_DIR})
endif()
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Hardware detection # Hardware detection
......
...@@ -96,7 +96,7 @@ $ cd <path to build>/bin && ./depthwise-conv-2d-nhwc-hwc-benchmark ...@@ -96,7 +96,7 @@ $ cd <path to build>/bin && ./depthwise-conv-2d-nhwc-hwc-benchmark
## Audio Processing 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)) - KFR ([link](https://github.com/kfrlib/kfr))
...@@ -109,7 +109,7 @@ $ cmake -G Ninja .. \ ...@@ -109,7 +109,7 @@ $ cmake -G Ninja .. \
-DAUDIO_PROCESSING_BENCHMARKS=ON \ -DAUDIO_PROCESSING_BENCHMARKS=ON \
-DCMAKE_CXX_COMPILER=clang++ \ -DCMAKE_CXX_COMPILER=clang++ \
-DKFR_DIR=/PATH/TO/KFR/SOURCE/CODE \ -DKFR_DIR=/PATH/TO/KFR/SOURCE/CODE \
$ ninja $ ninja audio-processing-benchmark
``` ```
## Testing ## 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