Skip to content

build: fix AVX2/AVX512 builds failed due to intrinsics operator usage#26166

Merged
asmorkalov merged 1 commit intoopencv:4.xfrom
mshabunin:fix-intrin-ops
Sep 20, 2024
Merged

build: fix AVX2/AVX512 builds failed due to intrinsics operator usage#26166
asmorkalov merged 1 commit intoopencv:4.xfrom
mshabunin:fix-intrin-ops

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

Original problem

  • Build with AVX2 or AVX512 baseline, e.g. -DCPU_BASELINE=AVX512_SKX
  • Build failed because of intrinsics using overloaded operators in specific code blocks

Solution

  • use v_add/v_sub functions instead of +/- operators

@opencv-alalek
Copy link
Copy Markdown
Contributor

Related nightly build failure: http://pullrequest.opencv.org/buildbot/builders/4_x_opt-avx512_noICV-win64-vc16/builds/100085

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants