GPU computing in Matlab has "CUDA error"
Mostrar comentarios más antiguos
computer setting:
Nvidia GeForce GTX 1060 + Matlab 2018a + CUDA 9.2 + WIN 10 + Visual Studio 2017 VC++ 2015.3 v140 toolset for desktop (x86,x64) has been installed and all the paths have been added. Use gpuDevice in Matlab the information can display, however the other commands cannot be executed.
e.g. Input reset(gpuDevice)
or N = 6; M = magic(N); G = gpuArray(M)
then we get
An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS
Does this problem related to the compatibility? The installation is in D:/ while not the C:/ in my computer, is this related with the issue? How to solve this problem?
2 comentarios
Joss Knight
el 14 de Jun. de 2018
These issues are usually resolved by updating your NVIDIA Driver. Try getting the latest driver and see if there is still a problem. I know you may feel as though you've done this, but if you did it by downloading the CUDA 9.2 toolkit then it will not be the latest driver.
Yizhu Chen
el 19 de Jun. de 2018
Respuestas (0)
Categorías
Más información sobre GPU Computing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!