Hi Fabrizio, I 'll work on a JNI/GlueGen based OpenCL binding to Java as part of my bachelor thesis. If everything works well it will be an optional extension of JSR231 aka JOGL (and will also fully interoperate with JOGL).
...open source as soon i have something to show ;) best regards, - - - michael-bien.com On Aug 30, 9:45 pm, Fabrizio Giudici <[email protected]> wrote: > Ok, Snow Leopard is out and so is OpenCL - a technology that allows to > run code with the GPU, even for number crunching. OpenCL, AFAIK, > mandates that you describe the code to execute in C99 (and evolution of C). > > Obviously this is so old fashoned ;-) The good thing would be to have a > JIT able to run Java bytecode on the GPU (of course, with limitations). > For instance, I have a few imaging code written in pure Java that would > be happy to run on a GPU ;-) > > I'm curious to know whether somebody is working on that. Googling around > and asking to friends (thanks to Antonio Vieiro), I've found: > > http://code.google.com/p/nativelibs4java/wiki/OpenCL > > http://code.google.com/p/jreonopencl/ > > http://www.gass-ltd.co.il/en/products/jcuda/ > > The first is "just" a JNA binding to OpenCL, so you can talk with the > API, but you still need to pass C99 code (there's a similar stuff for > Python and I suppose for other languages too). The second seems to be > the right thing, but it's nothing more than a placeholder. The third > stuff is interesting, but free-not-open. Do you know of something else? > > PS The good stuff would operate directly at bytecode level to OpenCL > internal representation. But I was thinking that one could even visit > some bytecode and emit a C99 equivalent, that is later passed to OpenCL. > > -- > Fabrizio Giudici - Java Architect, Project Manager > Tidalwave s.a.s. - "We make Java work. Everywhere." > weblogs.java.net/blog/fabriziogiudici -www.tidalwave.it/blog > [email protected] - mobile: +39 348.150.6941 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
