-
Notifications
You must be signed in to change notification settings - Fork 803
[SYCL] Make vec load store member functions templated #920
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
[SYCL] Make vec load store member functions templated #920
Conversation
sycl/include/CL/sycl/types.hpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cannot find such overload in the spec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexeySachkov but it is being used in CTS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alexbatashev, then it is either CTS bug or spec bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AlexeySachkov I submitted an issue to track this question KhronosGroup/SYCL-CTS#36
sycl/include/CL/sycl/types.hpp
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
Signed-off-by: Alexander Batashev <alexander.batashev@intel.com>
379f7dd to
7547a46
Compare
Signed-off-by: Alexander Batashev <alexander.batashev@intel.com>
AlexeySachkov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall, I don't have objections against the patch. Situation with extra overload seems to me like a spec bug because this overload is used in official conformance tests.
There's no real difference at the SPIR-V level between these and the more generic mem_fence intrinsic because mem_fence is already relaxed and SPIR-V doesn't have a concept of anything more relaxed than that. Closes: intel#920 Original commit: KhronosGroup/SPIRV-LLVM-Translator@a53d233
There's no real difference at the SPIR-V level between these and the more generic mem_fence intrinsic because mem_fence is already relaxed and SPIR-V doesn't have a concept of anything more relaxed than that. Closes: #920 Original commit: KhronosGroup/SPIRV-LLVM-Translator@a53d233
…tuff [NFC] Remove more old debug info handling.
…tuff [NFC] Remove more old debug info handling.
…tuff [NFC] Remove more old debug info handling.
…14b not in (#920) 5e0f14b was reverted in 1a21f73. The test was added in c4fd801.
…14b not in (#920) 5e0f14b was reverted in 1a21f73. The test was added in c4fd801.
…14b not in (#920) 5e0f14b was reverted in 1a21f73. The test was added in c4fd801.
The SYCL specification mentions load and store member functions as
This patch aligns our implementation with the definition that is provided by the spec.
Signed-off-by: Alexander Batashev alexander.batashev@intel.com