Missing gpu.lib in R2024a
Ältere Kommentare anzeigen
I am trying to compile CUDA version of Matconvnet on R2024a.
Mex reporting an error of missing gpu.lib and indeed I can't find it in R2024a. It however, exists in the previous versions, for example R2023b.
Is there a replacement for gpu.lib in R2024a?
Thank you,
Ilia
Akzeptierte Antwort
Weitere Antworten (1)
Umar
am 1 Jul. 2024
Verschoben: Walter Roberson
am 1 Jul. 2024
0 Stimmen
Hi Ilia,
You can link against nvcuda.lib instead of gpu.lib in your CUDA project within Matconvnet to resolve the missing library error. For more information on Matconvent, please refer to
Afterwards, try to update your compilation settings to reference nvcuda.lib in R2024a, and your CUDA code should compile successfully without relying on the deprecated gpu.lib file.
1 Kommentar
Ilia
am 2 Jul. 2024
Kategorien
Mehr zu GPU Computing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!