Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@asmorkalov
Copy link
Contributor

@asmorkalov asmorkalov commented Feb 22, 2024

Relates to #25052

Pull Request Readiness Checklist

See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request

  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV
  • The PR is proposed to the proper branch
  • There is a reference to the original bug report and related work
  • There is accuracy test, performance test and test data in opencv_extra repository, if applicable
    Patch to opencv_extra has the same branch name.
  • The feature is well documented and sample code can be built with the project CMake

@asmorkalov asmorkalov changed the title Disable fp16 instructions detection on Windows ARM64 because of build issues #25052. Disable fp16 instructions detection on Windows ARM64 because of build issues Feb 22, 2024
@asmorkalov asmorkalov added platform: win32 platform: arm ARM boards related issues: RPi, NVIDIA TK/TX, etc labels Feb 22, 2024
@asmorkalov asmorkalov added this to the 4.10.0 milestone Feb 22, 2024
@asmorkalov
Copy link
Contributor Author

/cc @tomoaki0705

@asmorkalov
Copy link
Contributor Author

@opencv-alalek May I merge this?

@asmorkalov
Copy link
Contributor Author

/cc @vpisarev

@vpisarev
Copy link
Contributor

@asmorkalov, CV_FP16 is quite important feature and will be even more important in the new dnn and imgproc modules. If I understand correctly, we correctly detect ARM Neon on Windows. CV_FP16 (unlike CV_NEON_FP16) is a subset of CV_NEON. Therefore, on Windows@ARM systems we need to change the check for CV_FP16 with the check for CV_FP16+CV_NEON.

@asmorkalov
Copy link
Contributor Author

The issue is that most of branches with f16 on Windows are implemented for x86. We need to revise all of them and fix. The idea of the patch -disable fp16 for now to unblock default configuration build. You are welcome to fix fp16 for ARM Windows.

@asmorkalov asmorkalov merged commit 8f83540 into opencv:4.x Feb 28, 2024
@asmorkalov asmorkalov mentioned this pull request Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform: arm ARM boards related issues: RPi, NVIDIA TK/TX, etc platform: win32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants