grfrost

Results 14 comments of grfrost

Sadly (but no surprisingly) kernel is a reserved word in OpenCL

Raunak.... I looked at the Aparapi code here https://github.com/Syncleus/aparapi-native/blob/bdfdb0b45c8a5105907500ec5cee701d92e35a19/src/cpp/invoke/OpenCLJNI.cpp#L472 Even though you have OpenCL 3.0 you should still see the message/warning "Aparapi is running on an untested OpenCL platform version"...

You probably cannot get an earlier version. But aparapi should work on yours. You could pull the 3 maven repos and build yourself. That way we can add diagnostics in...

Ok I just created a public github repo. Can you clone this and build (cmake) and see if the build and runjava.sh script work for you? https://github.com/grfrost/javacltest On Tue, Jun...

OK so java can call jni and opencl on this machine, Aparapi should run just fine. I suspect that the issue is that for some reason on this platform the...

I replied to your email with pictures. ;) in case you don't get that. I think you added -Djava.library.path=...... AFTER your class name -Dxxxxx options are intended for the JVM...

OK I don't run using intellij. Two things to try. 1) Try getting rid of the intellij stuff from the above command line and launch from the command line /home/rauna/.jdks/openjdk-18.0.1.1/bin/java...

I have done a lot of work to try to help you. Please read the msg i put on the aparapi gitlab page @mandeepsingh-private you might be able to rebuild...

Excellent, cuda has some great tool support. It is a great way to learn the fundamentals Gary On Fri, 15 Jul 2022 at 21:07, Raunak Singh ***@***.***> wrote: > @grfrost...

My bad ;) -Dxxxxx options are intended for the JVM not params to your code So they appear before the class you are using You have /home/rauna/.jdks/openjdk-18.0.1.1/bin/java ...../scala-library-2.13.1.jar cudaProgramming.parallel.CudaSquare *-Djava.library.path=/usr/local/cuda-11.7/lib64/*...