Fixed build error hal_rvv_071#25793
Merged
asmorkalov merged 4 commits intoopencv:4.xfrom Jun 28, 2024
Merged
Conversation
…ed in hal_rvv_071
Contributor
|
I believe we should disable RVV HAL instead. |
Contributor
Author
Changed the flag state to off unless otherwise specified. Removed dependency on CV_DISABLE_OPTIMIZATION. I did not make any changes to cmake to check rvv, since we decided to abandon this and check its version and availability using compiler macros |
Contributor
|
Currently NDSRVP is affected by the flag state. -- Other third-party libraries:
-- Lapack: NO
-- Custom HAL: YES (HAL RVV (ver 0.0.1) ndsrvp (ver 0.0.1))
-- Protobuf: build (3.19.1)
-- Flatbuffers: builtin/3rdparty (23.5.9)In file included from /home/junyan/opencv_rvp/build/custom_hal.hpp:5,
from /home/junyan/opencv_rvp/modules/core/src/hal_replacement.hpp:968,
from /home/junyan/opencv_rvp/modules/core/src/precomp.hpp:92,
from /home/junyan/opencv_rvp/modules/core/src/alloc.cpp:43:
/home/junyan/opencv_rvp/3rdparty/hal_rvv/hal_rvv.hpp:8:10: fatal error: riscv_vector.h: No such file or directory
8 | #include <riscv_vector.h>
| ^~~~~~~~~~~~~~~~
compilation terminated. |
Contributor
|
@Junyan721113 Please use |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixed bug with enabling vector header when vector extension is disabled (RVV=OFF) in hal_rvv_071