Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (739)
Games in Android Showcase (224)
games submitted by our members
Games in WIP (820)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  OpenCL(Open Computer Language) binding for Java  (Read 2000 times)
0 Members and 1 Guest are viewing this topic.
Offline eddiebro3

Senior Newbie





« Posted 2009-08-17 04:00:39 »

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
Offline bienator

Senior Devvie




OutOfCoffeeException


« Reply #1 - Posted 2009-08-17 10:21:54 »

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).

Offline Cork

Junior Devvie




vote 6uN for OSX


« Reply #2 - Posted 2009-08-17 12:21:41 »

wow that's great news.  I was wondering if anyone would get around to that with snow leopard just around the corner Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline eddiebro3

Senior Newbie





« Reply #3 - Posted 2009-08-17 14:08:00 »

Thanks for the reply! I think this will be a great additional package for JOGL. I hope it can be release soon.

Smiley
Offline bienator

Senior Devvie




OutOfCoffeeException


« Reply #4 - Posted 2009-08-17 14:23:55 »

I hope it can be release soon.
that depends on how much free time i get Wink. 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 :/

Offline AI Guy

Senior Newbie





« Reply #5 - Posted 2009-08-17 15:18:38 »

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.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 
Ecumene (61 views)
2017-09-30 02:57:34

theagentd (82 views)
2017-09-26 18:23:31

cybrmynd (189 views)
2017-08-02 12:28:51

cybrmynd (189 views)
2017-08-02 12:19:43

cybrmynd (194 views)
2017-08-02 12:18:09

Sralse (206 views)
2017-07-25 17:13:48

Archive (770 views)
2017-04-27 17:45:51

buddyBro (904 views)
2017-04-05 03:38:00

CopyableCougar4 (1454 views)
2017-03-24 15:39:42

theagentd (1333 views)
2017-03-24 15:32:08
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!