-
Notifications
You must be signed in to change notification settings - Fork 769
[SYCL] Fix one more warning coming from SYCL headers #1758
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
Conversation
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
myQueue.submit([&](handler& cgh) { | ||
auto writeResult = resultBuf.get_access<access::mode::write>(cgh); | ||
cgh.single_task<class kernel_name>([=]() { | ||
writeResult[0] = (vec<int, 4>{1, 2, 3, 4}).template convert<long>(); | ||
}); | ||
}); |
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.
Are there any cases that were covered with old test and not covered by the new test?
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.
I think no, there was just a simple program that launches the check of warnings.
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.
But maybe we should ask the code owner.
Signed-off-by: Aleksander Fadeev <aleksander.fadeev@intel.com>
@turinevgeny, approve, please, if no objections. |
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.
LGTM
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.
LGTM.
…fo (#1758) Also allow binary float spec constant input by passing a hex value with 0x prefix. Original commit: KhronosGroup/SPIRV-LLVM-Translator@b0c2bb1
Fixed "warning: '&&' within '||' [-Wlogical-op-parentheses]" in types.hpp: it wasn't caught by the originally added test, because it is triggered only if corresponding template is instantiated.
Adjusted clang arguments in existing test for warnings as follow-up on #1583
Signed-off-by: Aleksander Fadeev aleksander.fadeev@intel.com