Commit c04d62db authored by Maksim Shabunin's avatar Maksim Shabunin

HAL samples readme file updated

parent d214770d
...@@ -11,7 +11,7 @@ Build custom HAL replacement library ...@@ -11,7 +11,7 @@ Build custom HAL replacement library
------------------------------------ ------------------------------------
1. Create folder for build (for example `<home-dir>/my-hal-build`) 1. Create folder for build (for example `<home-dir>/my-hal-build`)
2. Go to created folder and run cmake: `cmake <opencv-src>/samples/hal/slow_hal` 2. Go to the created folder and run cmake: `cmake <opencv-src>/samples/hal/slow_hal`
3. Run make 3. Run make
After build you will find static library in the build folder: `libslow_hal.a` After build you will find static library in the build folder: `libslow_hal.a`
...@@ -20,15 +20,15 @@ Build OpenCV with HAL replacement ...@@ -20,15 +20,15 @@ Build OpenCV with HAL replacement
--------------------------------- ---------------------------------
1. Create folder for build (for example `<home-dir>/my-opencv-build`) 1. Create folder for build (for example `<home-dir>/my-opencv-build`)
2. Go to created folder and run cmake: 2. Go to the created folder and run cmake:
``` ```
cmake \ cmake \
-DOPENCV_HAL_HEADERS="<opencv-src>/samples/hal/slow_hal/impl.hpp" \ -DOPENCV_HAL_HEADERS="<opencv-src>/samples/hal/slow_hal/impl.hpp" \
-DOPENCV_HAL_LIBS="<home-dir>/my-hal-build/libslow_hal.a" \ -DOPENCV_HAL_LIBS="<home-dir>/my-hal-build/libslow_hal.a" \
<opencv-src> <opencv-src>
``` ```
3. Run make (or `make opencv_perf_core` to build the demonstration test executable only) 3. Run make (or `make opencv_perf_core` to build the demonstration test executable only)
4. After build you can run the tests and verify that some functions are slower now: 4. After build you can run the tests and verify that some functions works slower:
``` ```
./bin/opencv_perf_core --gtest_filter=*bitwise_and* ./bin/opencv_perf_core --gtest_filter=*bitwise_and*
``` ```
Markdown is supported
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