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
I noticed this for at least physical storage buffer.
constant int b[5] = {1,2,3,4,5}; __attribute__((noinline)) int foo(constant int* p, int x) { return p[x]; } kernel void test(global int* out, constant int* other, int x) { int gid = get_global_id(0); out[gid] = foo(x > 5 ? other : p, gid); }
The geps generated for the selection of pointers has differing types due to the module scope constant vs the kernel argument.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed this for at least physical storage buffer.
The geps generated for the selection of pointers has differing types due to the module scope constant vs the kernel argument.
The text was updated successfully, but these errors were encountered: