On Wed, 01 Feb 2012 14:28:54 +0100, Philip Kaufmann <[email protected]> 
wrote:
> Hey Andreas,
> 
> Sorry for writing in german the first time, I'm switching to english 
> from now on. By the way Andreas Kloeckner sounds german, doesn't it ?

Sure does, and in fact is. The thing is that there are 150-odd people on
this list who, on average, probably don't speak German. :)

> Back to the problem, thanks for testing and attaching the little sample. 
> The mistake I made in my program was pretty simple but ugly (as I said 
> Pyhton is not my strength ^^)!
> 
> Instead of:
> self.kernel.XYZ(self.commandQueue, (data.size, ), (self.WORKSIZE, ), 
> *(kernelargs), global_offset=(data.baseNum[i], ))
> 
> I did:
> self.kernel.XYZ(self.commandQueue, (data.size, ), (self.WORKSIZE, ), 
> *(kernelargs), global_offset=data.baseNum[i])
> 
> The problem here was, that the host app didn't give an error message 
> (which pyOpenCL would have shown for the above construct I guess), but 
> simply crashed :-/ with a fault in kernelbase.dll (im on Win7 x64). Well 
> now it works like a charm!

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?

Andreas

Attachment: pgp5YwWkRjDAg.pgp
Description: PGP signature

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

Reply via email to