-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[Math] Migrate from Vc to std::experimental::simd - show what happens for all platforms with vecccore=ON
#20068
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
guitargeek
wants to merge
7
commits into
root-project:master
Choose a base branch
from
guitargeek:ci_demo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+479
−709
Conversation
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
Test Results 2 files 2 suites 5h 47m 53s ⏱️ For more details on these failures, see this check. Results for commit fd53784. ♻️ This comment has been updated with latest results. |
10eebdc to
af828a2
Compare
std::simd - show what happens for all platforms with vecccore=ON
std::simd - show what happens for all platforms with vecccore=ONstd::simd - show what happens for all platforms with vecccore=ON
std::simd - show what happens for all platforms with vecccore=ONstd::experimental::simd - show what happens for all platforms with vecccore=ON
eda7a30 to
d44f801
Compare
… type The GenVector classes are also to be able to accept `std::experimental::simd types` as template parameters, while dropping compatibility with Vc types to keep the overall support burden low. However, if people actually used GenVector with Vc, we can easily fix this for them with some `constexpr` branching in the templated GenVector classes. It's just not worth to do this at this point, as I'm not aware of anyone who used GenVector with Vc.
Always use `std::experimental::simd` as the backend for VecCore if the platform supports it. Otherwise, we drop support for the TMath and TFormula vectorization features that VecCore enables.
We have no test coverage on Linux for these options right now. We don't want to necessarily enable them in the release at this point, but enabling them on the `march=native` build is the perfect opportunity to test the TFormula and TMath features that VecCore enables, in particular with the `std::simd` backend.
Some of the shortcuts represent the same `cmath` functions that are used to implement TMath anyway.
Now that we always use the `std::simd` backend of VecCore, we don't need to use `vecCore::math` anymore, because all the functions from `cmath` that VecCore wraps are also implemented for `std::simd`.
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.
Do not merge. This is just for a demo CI run