I only have knowledge of Java for NeuralNetworks, GAs and some graphical interfaces work. I have a simple question that is about what is possible with OpenCL + Java + C. I know you can run C in Java, however what I would like to do is run a third party C application (for which I don't have the source) via Java, simple enough - but I'd like to have the C application run on a GPU using OpenCL because of the amount of calculations require - is this possible? I know there are some libraries such as JavaCL etc.
Ideally the workflow would be something like:
1.Java App forces C application to run on GPU using OpenCL.
2.Java App sends commands to C application with Data and Parameters
3.Java App uses OpenCL library to manage C application threads.
4.Java App could initialise multiple instances of the C app?
5.C App processes Data and returns to Java App.
6.Java App visualises data.
Thanks for any help or advice. Cheers, Patrick.