Skip to content

Instantly share code, notes, and snippets.

@dzamlo
Created May 6, 2014 13:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dzamlo/9b38af519a17b6647483 to your computer and use it in GitHub Desktop.
Save dzamlo/9b38af519a17b6647483 to your computer and use it in GitHub Desktop.
PyOpenCL bug, minimum working example
import pyopencl as cl
import pyopencl.array as clarray
import numpy as np
context = cl.create_some_context()
queue = cl.CommandQueue(context)
a = clarray.empty(queue, (10,20), np.float32, order='F')
print(a.get())
@blkkitacid
Copy link

implementation

@blkkitacid
Copy link

print

@blkkitacid
Copy link

print

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment