Jerome Kieffer <[email protected]> writes: > Dear Python/OpenCL community, > > I am pretty new (py)opencl and encountered a problem, maybe it a lack of > understanding of openCL, but I found strange python seg-faults: > test program: > > #!/usr/bin/python > import numpy, pyopencl > ctx = pyopencl.create_some_context() > data=numpy.random.random((1024,1024)).astype(numpy.float32) > img = pyopencl.image_from_array(ctx, ary=data, mode="r", norm_int=False, > num_channels=1) > print img
Ah, no--just remembered what the issue is. You'll have to recompile PyOpenCL with CL_PRETEND_VERSION = "1.1" in siteconf.py until we put in a real fix for this. Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
