Hi,
While running ‘JOCLSample.java’ I keep getting following error:
Obtaining platform…
Exception in thread “main” java.lang.NullPointerException
at org.jocl.cl_context_properties.addProperty(cl_context_properties.java:72)
at JOCLSample.main(JOCLSample.java:57)
As suggested in another thread, I have already restarted my system multiple time w/o any respite.
The reason for above is platforms[0] is NULL. Sstem specification - win vista 32 bit, Nvidia GeForce 8600M GT. I downloaded openCL.dll from internet and placed under ‘windows/system32/’.
Thanks and Regards,
Vinamra