We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67f2bbd commit 4142d52Copy full SHA for 4142d52
py_open_cl_demo.py
@@ -19,7 +19,7 @@
19
# Just in Time compiler.
20
# Notice the way we index into the array a: get_global_id
21
prg = cl.Program(ctx, """
22
- __kernel void twice(_global float *a)
+ __kernel void twice(__global float *a)
23
{ a[ get_global_id (0)] *= 2;}
24
""").build()
25
0 commit comments