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
Can you try the git version? Your code works fine for me with that. (Also, on what implementation are you running?) Andreas _______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
