Hi everyone, im interesting on learning how to program on GPU using jCuda.
After installing Cuda and adding jCuda library to my sample project i was getting some errors that i manage to solve (not sure if propeply)
first one was „Cannot find compiler ‚cl.exe‘“, second one was " nvcc fatal : Microsoft Visual Studio configuration file ‚vcvars64.bat‘ could not be found".
Now i have error that i wasn’t find any solution for: „jcuda.CudaException: CUDA_ERROR_INVALID_PTX“
full error:
Exception in thread „main“ jcuda.CudaException: CUDA_ERROR_INVALID_PTX
at jcuda.driver.JCudaDriver.checkResult(JCudaDriver.java:359)
at jcuda.driver.JCudaDriver.cuModuleLoadDataEx(JCudaDriver.java:2438)
at jcuda.utils.KernelLauncher.initModule(KernelLauncher.java:688)
at jcuda.utils.KernelLauncher.create(KernelLauncher.java:395)
at jcuda.utils.KernelLauncher.create(KernelLauncher.java:321)
at jcuda.utils.KernelLauncher.compile(KernelLauncher.java:270)
at Kernal.main(Kernal.java:20)
I didn’t build the code itself, its just this code that i lunch: http://www.jcuda.org/utilities/KernelLauncherSample.java
Using Cuda 11.3, and Eclipse IDE