Provide cmake-level configuration switch for emulated build#1328
Merged
serge-sans-paille merged 2 commits intomasterfrom Apr 27, 2026
Merged
Provide cmake-level configuration switch for emulated build#1328serge-sans-paille merged 2 commits intomasterfrom
serge-sans-paille merged 2 commits intomasterfrom
Conversation
f15e116 to
3d98504
Compare
Previous manual configuration was setting emulated arch flags while keeping -march=native which led to conflicting arch detection.
cdb1785 to
94f1284
Compare
It is possible to have a batch targeting an emulated build living alongside a batch for arch512. In such a configuration, trying to swizzle the emulated build will lead to instantiation of avx512 swizzle which itself tries to instantiate a batch constant that's invalid in avx512 terms. Fix the situation by aggregating all avx512 swizzle of uint16_t under one function and then switch on patterns. Based on an idea from @hdu-sdlzx
94f1284 to
1ddbbcd
Compare
Contributor
Author
|
@AntoinePrv : thanks to @hdu-sdlzx 's hint, this should fix the emulated test. |
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.
No description provided.