Login  Register

Re: RadixDemo has putArgSize() method that does not build

Posted by Martin on Feb 09, 2012; 4:37pm
URL: https://forum.jogamp.org/RadixDemo-has-putArgSize-method-that-does-not-build-tp3728738p3729992.html

Thanks for the advice, I can build the program with that change.
However I have a weird NVidia Kernel crash and the following exception at startup:
Any clue?
Cheers,
Martin

 = = = workgroup size: 128 = = =
array size: 0.131072MB; elements: 32K
Exception in thread "main" com.jogamp.opencl.CLException$CLOutOfResourcesException: can not enqueue read-buffer: CLBuffer [id: 95302912 buffer: java.nio.DirectIntBufferU[pos=0 lim=32768 cap=32768]] with
cond.: null events: null [error: CL_OUT_OF_RESOURCES]
        at com.jogamp.opencl.CLException.newException(CLException.java:78)
        at com.jogamp.opencl.CLCommandQueue.putReadBuffer(CLCommandQueue.java:181)
        at com.jogamp.opencl.CLCommandQueue.putReadBuffer(CLCommandQueue.java:151)
        at com.jogamp.opencl.demos.radixsort.RadixSortDemo.<init>(RadixSortDemo.java:78)
        at com.jogamp.opencl.demos.radixsort.RadixSortDemo.main(RadixSortDemo.java:127)