[SYCL] Adds info query for atomic_memory_order_capabilities on device and context - #4105
Merged
bader merged 4 commits intoJul 21, 2021
Merged
Conversation
steffenlarsen
requested review from
a team,
AlexeySachkov,
Pennycook and
smaslov-intel
as code owners
July 14, 2021 12:27
smaslov-intel
previously approved these changes
Jul 14, 2021
smaslov-intel
left a comment
Contributor
There was a problem hiding this comment.
PI-related changes LGTM
Contributor
|
@steffenlarsen, please, align changes with d703f57. |
added 3 commits
July 19, 2021 10:54
… and context Implements support for device::info::atomic_memory_order_capabilities and context::info::atomic_memory_order_capabilities. The corresponding PI query is only implemented for the PI CUDA backend and host. Signed-off-by: Steffen Larsen <steffen.larsen@codeplay.com>
Signed-off-by: Steffen Larsen <steffen.larsen@codeplay.com>
Signed-off-by: Steffen Larsen <steffen.larsen@codeplay.com>
steffenlarsen
force-pushed
the
steffen/memory_order_capabilities
branch
from
July 19, 2021 12:09
7b8fef9 to
61310e3
Compare
Contributor
Author
I have rebased the changes. I hope this was what you wanted. |
bader
previously approved these changes
Jul 19, 2021
Pennycook
reviewed
Jul 19, 2021
Signed-off-by: Steffen Larsen <steffen.larsen@codeplay.com>
Pennycook
approved these changes
Jul 19, 2021
Contributor
|
@intel/llvm-reviewers-cuda, @smaslov-intel, @intel/llvm-reviewers-runtime, ping. |
smaslov-intel
approved these changes
Jul 21, 2021
alexbatashev
added a commit
to alexbatashev/llvm
that referenced
this pull request
Jul 22, 2021
…ackend_plugin * upstream/sycl: (26 commits) [SPIR-V][NFC] Move non-upstreamed FuncParam decorations into internal:: (intel#4138) [SYCL] Move free function queries to experimental namespace (intel#4090) [SYCL][XPTI] Enable PI calls notifications with arguments (intel#4148) [SYCL] Revert queue::wait() to its old behaviour with Level Zero (intel#4153) [SYCL] Add missing <cstring> header to spirv.hpp (intel#4157) [SYCL] Adds info query for atomic_memory_order_capabilities on device and context (intel#4105) [SYCL] Improve performance of generic shuffles (intel#3815) [SYCL] Fix the error with namespaces caused during rebase of intel#4014 (intel#4151) [ESIMD] Fix 'ambiguous operator' error with length 1 simd operands (intel#4149) [libdevice][NFC] Fix libdevice dependencies list (intel#4130) [SPIR-V] Reland Encode debug info producer in SPIR-V (intel#4082) [SYCL][ROCm] Add ROCm support to get_device_count_by_type (intel#4113) [SYCL] Fix sRGB device info (intel#4145) [SYCL][ROCm] Fix kernel launch with multiple dimensions (intel#4063) [SYCL][ROCm] Fix compilation for AMD GPU with -fsycl-dead-args-optimization (intel#4126) [SYCL][Level Zero] Enable multi-CCS support. (intel#4038) [SYCL] Pass bound arch to unbundler (intel#4112) [ESIMD][doc] Added documentation for some ESIMD math APIs (intel#3995) [ESIMD] rename gather4/scatter4 to gather_rgba/scatter_rgba (intel#4120) [SYCL][NFC] Remove unused variable. (intel#4131) ...
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.
Implements support for
device::info::atomic_memory_order_capabilitiesandcontext::info::atomic_memory_order_capabilities. The corresponding PI query is only implemented for the PI CUDA backend and host.Additionally, these changes reverse the dependency between
sycl/include/CL/sycl/ONEAPI/atomic_enums.hppandsycl/include/CL/sycl/memory_enums.hppand replace all uses ofsycl::ONEAPI::memory_orderandsycl::ONEAPI::memory_scopewithsycl::memory_orderandsycl::memory_scoperespectively.