Skip to content

Commit 4142d52

Browse files
author
Jonathan Rocher
committed
typo
1 parent 67f2bbd commit 4142d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py_open_cl_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# Just in Time compiler.
2020
# Notice the way we index into the array a: get_global_id
2121
prg = cl.Program(ctx, """
22-
__kernel void twice(_global float *a)
22+
__kernel void twice(__global float *a)
2323
{ a[ get_global_id (0)] *= 2;}
2424
""").build()
2525

0 commit comments

Comments
 (0)