Anyone know if is avaliable some wrapper for OpenCL in Java? I have tried in this site(http://code.google.com/p/nativelibs4java/wiki/OpenCL) but it’s not working…
Sorry if here isn’t the best place to ask about OpenCL…
Thx
Anyone know if is avaliable some wrapper for OpenCL in Java? I have tried in this site(http://code.google.com/p/nativelibs4java/wiki/OpenCL) but it’s not working…
Sorry if here isn’t the best place to ask about OpenCL…
Thx
i am in the process of writing a binding. It is planed to be included as optional JOGL package (or it will probably use the same build system at least).
wow that’s great news. I was wondering if anyone would get around to that with snow leopard just around the corner
Thanks for the reply! I think this will be a great additional package for JOGL. I hope it can be release soon.
that depends on how much free time i get ;). I would like to finish the JOGL2 version of the GL pack for NetBeans first.
I’ll open source the the OpenCL bindings as soon i have a working demo. (or something to show)
The main pain point is that the (separate) nv OpenCL drivers are currently incompatible with OpenGL 3.2 drivers… one of the next beta driver releases should however merge both drivers into the mainstream graphics driver which will make development easier. Currently I have to switch constantly between 190.x and 180.x
I have started to use the nativelibs4java jar. I got it to work with the NVidia Vista beta, with a little slight of hand. That was I took the DLL from the SDK and copied it to system32 , changing the name to openCL.dll. Nvidia release notes state that when openCL is in production, that it will be built into their video drivers, but not how. Good enough for now.
I got the simplest program to run, where I get a device id, create a context with it, create a command queue with the context. When cleaning up, i tried to release the command queue, causes an access violation. Commenting that out, I cannot get clGetDeviceInfo to return success, and am a little stumped at the moment.
I saw the JOGL release note about OpenCL. I also saw:
My efforts to get my GLSL shaders to work on ATI were a total disaster. I resisted Cuda and open streams before, because they were proprietary, but openCL looks great, and that is where graphics chip makers have their developers focused right now. I will have my nVidia driver set for 180.x for as long as it takes. I could help with your example, as well as anything above the binding level, like error description methods, actual objects wrapping the bindings like a device object.
I even have plans for java,util.concurrent
interoperability, like maybe a openCL implemenation of the BlockingQueue
, or CompletionService
interfaces. The one thing I do not care about is anything to with openGL interoperability.
Send me a mail message through this site if interested, otherwise I will need to continue on my current path.