Created
May 6, 2014 13:01
-
-
Save dzamlo/9b38af519a17b6647483 to your computer and use it in GitHub Desktop.
PyOpenCL bug, minimum working example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
implementation