Hi Andreas,
----- Mail original -----
"Andreas Kloeckner" <[email protected]>:
>
> On Sat, 29 Oct 2011 14:10:39 +0200 (CEST), Vincent Favre-Nicolin
> <[email protected]> wrote:
> > return enqueue_nd_range_kernel(queue, self, global_size,
> > local_size,
> > > global_offset, wait_for, g_times_l=g_times_l)
> > E MemoryError: clEnqueueNDRangeKernel failed: mem object
> > allocation failure
>
> The test_random error I saw as well, so that's ok. This latter one is
> also mystifying. What does it think it's allocating here? How much
> memory do you have in your machine? Any chance that you just
> physically ran out of memory?
I doubt it, though the graphic card is not too powerful (this part of the
test failed on the "ATI Radeon HD 6630M"). The computer has 4GB of memory (and
freshly rebooted), and the card has (according to wikipedia) 1GB of mem.
> Ah, I just had an idea: Can you print local_size right before this
> failure? If it's bigger than 32K, that might be the issue--although
> I'm
> not sure that'd be the case...
global_size,local_size: (2304,) (128,)
Not so big, so... But I've seen a few problems on the ATI card - sometimes I
get into a state where opencl initialization becomes impossible, and I have to
reboot. Not sure if a soft reset is possible. But that's a different issue.
Vincent
_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl