Login  Register

Re: Intel SDK + HelloJOCL

Posted by Michael Bien on May 06, 2011; 2:07pm
URL: https://forum.jogamp.org/Intel-SDK-HelloJOCL-tp2908132p2908320.html

  Hello Andrea,

i ran a quick test on win7/64bit JVM/intel SDK and it all worked fine.
However i have also the AMD SDK on my test system, which could be a
reason why it works.

The intel SDK is still in alpha (AFAIK) it is possible that the vendor
abstraction layer is still buggy. Sad that the intel installer does not
let me install it in virtual box... so i can't test on a "clean" system.

(on my other system i have NV+AMD+Intel... works too)

best regards,
michael

On 05/06/2011 03:29 PM, Andrea [via jogamp] wrote:

> 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(CLException.java:67)
>          at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:226)
>          at com.jogamp.opencl.CLPlatform.listCLPlatforms(CLPlatform.java:212)
>          at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:182)
>          at com.jogamp.opencl.CLContext.create(CLContext.java:168)
>          at com.jogamp.opencl.CLContext.create(CLContext.java:143)
>          at jocltest.Main.main(Main.java:33)
>
> 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!
>
> Andrea
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://forum.jogamp.org/Intel-SDK-HelloJOCL-tp2908132p2908132.html
> To start a new topic under jogamp, email [hidden email]
> To unsubscribe from jogamp, visit
http://michael-bien.com/