We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
struct E { int i1, i2, i3; // Fails // int i1, i2; // OK, struct smaller }; struct S { int i1, i2; struct E e1, e2; }; kernel void Kernel(global struct S* s) { s->e1 = s->e2; // memcpy destabilizes the following: s->i1 = 0; // Fails, writing first field // s->i2 = 0; // OK, second field // s->i2 = s->i1; // Fails, reading first field }
https://godbolt.org/z/h6e4oM8hs
Likely related to #1176 #1177
The text was updated successfully, but these errors were encountered:
fix bitcast from struct to scalar
0fd0ae8
Fix google#1178 Fix google#1179
fix bitcast from struct to scalar (#1181)
9688056
Fix #1178 Fix #1179
rjodinchr
Successfully merging a pull request may close this issue.
https://godbolt.org/z/h6e4oM8hs
Likely related to #1176 #1177
The text was updated successfully, but these errors were encountered: