Hi Jerome,

Jerome Kieffer <[email protected]> writes:
> 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
>
> System: debian sid: pyopencl2012.1 (the same code works with debian stable 
> and v2011.2)

This should be fixed in current git.

Andreas


_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to