Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
c04d62db
Commit
c04d62db
authored
Dec 17, 2015
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HAL samples readme file updated
parent
d214770d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
README.md
samples/hal/README.md
+12
-12
No files found.
samples/hal/README.md
View file @
c04d62db
...
...
@@ -11,7 +11,7 @@ Build custom HAL replacement library
------------------------------------
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
After build you will find static library in the build folder:
`libslow_hal.a`
...
...
@@ -20,15 +20,15 @@ Build OpenCV with HAL replacement
---------------------------------
1.
Create folder for build (for example
`<home-dir>/my-opencv-build`
)
2.
Go to
created folder and run cmake:
```
cmake \
-DOPENCV_HAL_HEADERS="<opencv-src>/samples/hal/slow_hal/impl.hpp" \
-DOPENCV_HAL_LIBS="<home-dir>/my-hal-build/libslow_hal.a" \
<opencv-src>
```
2.
Go to
the created folder and run cmake:
```
cmake
\
-DOPENCV_HAL_HEADERS="
<opencv-src>
/samples/hal/slow_hal/impl.hpp"
\
-DOPENCV_HAL_LIBS="
<home-dir>
/my-hal-build/libslow_hal.a"
\
<opencv-src>
```
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
:
```
./bin/opencv_perf_core --gtest_filter=*bitwise_and*
```
4. After build you can run the tests and verify that some functions
works slower
:
```
./bin/opencv_perf_core --gtest_filter=
*bitwise_and*
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment