[PyOpenCL] Passing a floatn table to a kernel

Andreas Kloeckner lists at informa.tiker.net
Sun Dec 12 22:01:46 PST 2010


Hi David,

On Thu, 9 Dec 2010 16:01:36 +0100, David Libault <david.libault at gmail.com> wrote:
> Following is the code that has a strange behavior. Works on GPU
> (device 0 on my macbook pro), and segfaults on CPU (device 1). I
> wanted to try geometric functions like "distance", only implemented on
> the CPU.
> Any remark regarding this dummy code will be kindly appreciated...

The code looks ok to me, and both the Nvidia GPU and AMD CPU
implementations on my machine (64-bit Linux) execute it just fine. Apple
bug maybe?

HTH,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.tiker.net/pipermail/pyopencl/attachments/20101213/9a3f7c68/attachment.pgp>


More information about the PyOpenCL mailing list