Non temporal data transfers#1170
Open
DiamonDinoia wants to merge 1 commit intoxtensor-stack:masterfrom
Open
Conversation
Contributor
|
Some generic thoughts:
On arm64, there's no support for non-temporal loads (https://developer.arm.com/documentation/100048/0100/level-1-memory-system/memory-prefetching/non-temporal-loads), the corresponding instruction do exist (LDNP/STNP) but I failed to find the related intrinsic. There seems to be something equivalent in riscv (see riscv-non-isa/riscv-c-api-doc#47) I couldn't find anything for webassembly nor Power. So that's quite a niche, but I'm fine with adding those though. |
Contributor
Author
Cheers, PS: sse2 adds APIS for non temporal stores of scalars of 32/64 bits. I am not sure the fit within xsimd though |
2. Adding xsimd::fence as a wrapper around std atomic for cache coherence 3. Adding tests
8162072 to
66fd323
Compare
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.
Draft because I need to double check the API levels ( i.e I am not using AVX2 functions in AVX and so on).I just wanted some feedback while I do the finishing touches.