Reply – Re: CLWork integration example?
Your Name
Subject
Message
or Cancel
In Reply To
Re: CLWork integration example?
— by Giovanni Idili Giovanni Idili
Hi Michael,

thanks for the clarification and the example, which was particularly useful.

I am slowly coming to grasps with this stuff :)

I am now trying to grab a more recent version of JOCL that includes the CLWork stuff - which one would you advise downloading?

I tried with downloading the most recent one that includes OSX [http://jogamp.org/deployment/autobuilds/master/jocl-b474-2011-11-08_12-16-26/] from the auto-build list but I see that it contains only the jocl jar/lib (as opposed to a whole bunch of other stuff such as gluegen as on older builds such as the one I am currently using) and if I try to substitute jocl.jar and libjocl.dylib to my current ones I get:

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class com.jogamp.common.os.Platform
at com.jogamp.common.util.VersionUtil.getPlatformInfo(VersionUtil.java:54)
at com.jogamp.opencl.util.JOCLVersion.getAllVersions(JOCLVersion.java:78)
at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:216)
at com.jogamp.opencl.CLPlatform.initialize(CLPlatform.java:148)
at com.jogamp.opencl.CLPlatform.getDefault(CLPlatform.java:229)
at com.jogamp.opencl.CLContext.create(CLContext.java:170)
at com.jogamp.opencl.CLContext.create(CLContext.java:145)


... being annoyed by dumb asses like me is one of the perks of running an open source proj :)

Best Regards and thanks for your help,

Giovanni