-
Notifications
You must be signed in to change notification settings - Fork 2
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
GPU mode not working #75
Comments
Hello Junhao, Thank you for reporting! The log file looks normal so it looks this smells like a bug. Sorry for that. It would be really useful to me if you could run with I must warn that I don't have access to any windows machine at the moment (can't test the GPU code path in a virtual machine) so it might take some time before I have a chance to solve this. Cheers, |
I had the same problem,the terminal returned a negative value to me, I don't know what went wrong |
Hello! I need a little more information to figure out what is going on. Please add the command line argument Cheers, |
This is my output
|
Thanks, that will give me some hint on where to look. Normally it would spit out some info about the graphics card like this:
What graphics card do you use and are you able to use other programs relying on OpenCL? Where does the last part come from, i.e.:
are you using the program from MATLAB? If that is the case see if it works better when running directly from the power shell. |
My graphics card is GTX1650Ti,and I just run the command line in MATLAB,such as system(['dw_bw --lambda 750.000000 --NA 0.950 --ni 1.000 --resxy 161.0 --resz 1500.0 "' file_path 'psf\Cy7-bandpass.tif" '] ) system(['dw --verbose 2 --mse --gpu --tilesize 3000 --iter 35 --out ' temp_out_name ' "' file '" "' file_path 'psf\Cy5-bandpass.tif"' ]).I guessed at first that my graphics card wouldn't drive, but another friend in the comments had the same problem, maybe it was a bug |
Hi I actually managed to run it successfully on the GPU. Today it stopped working unexpectedly. Could you help me ?
deconwolf: '0.4.3' Image dimensions: 2048 x 2048 x 42 -> Processing tile 1 / 4 Sorry! There was an unrecoverable error! If you are sure that OpenCL works on this machine |
Hi Jacques, The error message from OpenCL is By default deconwolf will use the first device from the first platform. That is probably fine for most simple setups, like my computer. Here that command says:
If you have more than one device to select from you can specify which to use with the command line argument Cheers, |
Hi Erik, thanks a lot ! |
Hey Erik,
I was using the pre-compiled windows version (v0.4.3) and it works well albeit slowly with just CPU. When I switched to GPU (I have an RTX4060 and drivers installed), it would wait for about 2 seconds before saving a log file to dst and finishing without exporting a deconvolved image. Here's a copy of the log and I couldn't spot an error. Also I didn't notice any significant change in GPU usage. Am I missing anything here? Any input will be greatly appreciated, thanks!!
Best,
Junhao
P.S. Super nice work!!
2024-09-05T14:55:07
The text was updated successfully, but these errors were encountered: