https://forum.jogamp.org/HelloJOCL-Problems-on-MacOSX-tp2456996p2460296.html
I introduced the NPE regression yesterday night. Please take build 276
line 52 creates the CLCommandQueue on the fastest device. You could
choose a different one.
does not work with some drivers. Thats why most demos/tests hardcode
that value.
> Michael, thanks for taking the time to reply.
>
> Decreasing the element count seemed to overcome the out of memory problem.
>
> Howeevr, the worksize is still a problem.The MacBook Pro has both an Nvidia
> GeForce GT 330M and Intel integrated graphics; I am forcing it to use the
> former. I get two devices reported using CLInfo:
> CL_DEVICE_NAME GeForce GT 330M Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz
> and respectively
> CL_DEVICE_MAX_WORK_GROUP_SIZE 512 1
>
> So I don't really understand why that value of 256 is failing. In fact even
> a worksize as small as 2 fails. Maybe it is using the CPU instead of the
> GPU?
>
> If I set it to 1, I then get a different error:
> Exception in thread "main" java.lang.NullPointerException
> at com.jogamp.opencl.CLContext.release(CLContext.java:486)
> at com.jogamp.opencl.CLContext.release(CLContext.java:504)
> at HelloJOCL.main(HelloJOCL.java:54)
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
>
http://jogamp.762907.n3.nabble.com/HelloJOCL-Problems-on-MacOSX-tp2456996p2460165.html> To start a new topic under jogamp, email
[hidden email]
> To unsubscribe from jogamp, visit
http://michael-bien.com/