Reply – Intel SDK + HelloJOCL
Your Name
or Cancel
In Reply To
Intel SDK + HelloJOCL
— by danoliv danoliv
Hi Everybody,

I installed the Intel SDK, runned few example successfully with VisualStudio and after I try JOCL into Netbeans IDE, I added all the jars and the Djava.library.path points to the jocl\lib. Everything looks fine, it compiles but I got this error when I execute it:

Exception in thread "main" com.jogamp.opencl.CLException$CLPlatformNotFoundKhrException: can not enumerate platforms [error: CL_PLATFORM_NOT_FOUND_KHR]
        at com.jogamp.opencl.CLException.checkForError(
        at com.jogamp.opencl.CLPlatform.listCLPlatforms(
        at com.jogamp.opencl.CLPlatform.listCLPlatforms(
        at com.jogamp.opencl.CLPlatform.getDefault(
        at com.jogamp.opencl.CLContext.create(
        at com.jogamp.opencl.CLContext.create(
        at jocltest.Main.main(

I try with OpenCL Info utility and I got the same error, what is the possible cause?

I'm running Windows 7 on a recent Intel i5, Netbeans 6.9.1 and the last Intel OpenCl SDK.
Please help me!

Thanks a lot!