[PyOpenCL] (de) Problem mit global_offset Parameter

Andreas Kloeckner lists at informa.tiker.net
Thu Feb 2 06:24:43 PST 2012


On Thu, 02 Feb 2012 11:06:56 +0100, Philip Kaufmann <phil.kaufmann at t-online.de> wrote:
> Hi Andreas,
> 
> > Odd--I did try that version to, just to see if it would provoke a crash
> > (it shouldn't), and it didn't. What version are you on?
> 
> self.kernel.XYZ(self.commandQueue, (data.size, ), (self.WORKSIZE, ), 
> *(kernelargs), global_offset=data.baseNum[i])
> 
> The above crashes with 0.92 and I guess the other one is 2011.2, but 
> this one crashes on: self.interface.debug('using PyOpenCL version ' + 
> cl.VERSION_TEXT), which 0.92 does not ^^.

Known bug, fixed in git. Also, when you say 'crash', that sounds like
'caught a signal' to me. Please distinguish Python exceptions (usually
not a problem) from segfaults (argh!), to avoid scaring me like that.

(In Windows, it might be hard to tell one from the other unless you're
running your code from the command line.)

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/20120202/13996095/attachment.pgp>


More information about the PyOpenCL mailing list