-
Notifications
You must be signed in to change notification settings - Fork 758
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][CUDA] Incorrect work with constant memory #1819
Comments
Can you confirm the problem only occurs with constant memory? I have modified locally the test case to use non-constant memory but get the same error. |
I think this could be related to #1841 |
It also seems the problem disappears when using -O2 instead of -O0 |
True |
The issue was discovered for constant memory only - but if you could attach your version of reproducer, I can check it on my machine as well. |
Can't reproduce this problem with the latest build.
It was (probably) addressed by #1841. |
main.cpp.txt
After migration of Rodinia-Heartwall benchmark from CUDA to DPC++ it was found that Codeplay DPC++ compiler may work with constant memory incorrectly - constant data passed to the kernel may be invalid.
Small reproducer is in attachment.
How to reproduce:
I've used the latest compiler from June 04.
For Intel Graphics it works fine:
The text was updated successfully, but these errors were encountered: