Trouble using one of my GPUs
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Rohan Nadkarni
am 23 Mär. 2023
Kommentiert: Rohan Nadkarni
am 5 Apr. 2023
I am using a computer with Ubuntu 20.04. I want to use a MATLAB software toolkit that uses mex files to do medical image reconstruction. The image reconstructions with this toolkit work on one of my GPUs (GeForce GTX TITAN X) but when I try using the other GPU (TITAN RTX) for this, I get the following Cuda failed error:
no kernel image is available for execution on the device
Please clear any outstanding memory allocations and reset the device(s) in use.
Here is the output of nvidia-smi as a .png file
I'd be happy to provide more information. I have not seen similar errors when using pytorch on this computer.
What should I try to resolve this error so that I can run the image reconstructions on the TITAN RTX?
Thanks,
Rohan
0 Kommentare
Akzeptierte Antwort
Dinesh
am 5 Apr. 2023
Hi Rohan.
The error "no kernel image is available for execution on the device" typically indicates that the CUDA code has been compiled for a specific Compute Capability, and the GPU you're trying to use has a different Compute Capability not supported by the compiled code.
The GeForce GTX TITAN X has a Compute Capability (CC) of 5.2, while the TITAN RTX has a Compute Capability of 7.5.
The following link might help you:
Weitere Antworten (1)
Joss Knight
am 4 Apr. 2023
Hi Rohan. You may have to consult the documentation for your toolkit. The Titan RTX is a Turing card and may post-date the most recent build of your toolkit. Really the toolkit authors should have built a forward compatible bytecode version but perhaps they expect you to just upgrade to the latest version.
0 Kommentare
Siehe auch
Kategorien
Mehr zu GPU Computing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!