Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not initialize class jcuda.jcufft.JCufft #4

Open
rmd13 opened this issue Mar 4, 2023 · 1 comment
Open

Could not initialize class jcuda.jcufft.JCufft #4

rmd13 opened this issue Mar 4, 2023 · 1 comment

Comments

@rmd13
Copy link

rmd13 commented Mar 4, 2023

I have downloaded

jcufft-0.9.0d.jar
jcufft-natives-0.9.0d-windows-x86_64.jar
jcuda-0.9.0d.jar
jcuda-natives-0.9.0d-windows-x86_64.jar

and re-compile the java to jars.
The code could run in FFW2, academic, Jtransform, but error take place when I use jcuda version.

My computer is a basic one without dedicated graphic card, is this cause the error?

aNewFFT = fft.jcufft.JCuFFTLibrary; 
JCuFFTLibrary
Java exception occurred:
java.lang.NoClassDefFoundError: Could not initialize class jcuda.jcufft.JCufft

	at fft.jcufft.JCuFFTLibrary.isCudaAvailable(JCuFFTLibrary.java:85)

	at fft.jcufft.JCuFFTLibrary.<init>(JCuFFTLibrary.java:45)
@rmd13
Copy link
Author

rmd13 commented Mar 4, 2023

It seems that a GPU is required as seen from "isCudaAvailable".

I noticed another difference in matlab.Converter.createObject method of this fork compared with the original repo.
public static Object createMatlabMatrix(RealSignal signal)

Some people mentioned the memory leak in 2.1.2, but 2.1.1 looks like no such memory leak problem.
Biomedical-Imaging-Group/DeconvolutionLab2#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant