– Re: HelloJOCL Problems on MacOSX
In Reply To
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
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
Michael, thanks for taking the time to reply.