We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6662fc3 commit 2d46fe7Copy full SHA for 2d46fe7
1 file changed
OpenCL_C.txt
@@ -3336,7 +3336,7 @@ constant int *cp;
3336
3337
int *p;
3338
gp = (global int *)lp; // illegal to cast between named address spaces
3339
-p = (int *)lp; // legal to cast from global to generic
+p = (int *)gp; // legal to cast from global to generic
3340
gp = (global int*)p; // legal to cast from generic to global
3341
----------
3342
0 commit comments