We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32f65e2 commit 73971afCopy full SHA for 73971af
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