GPU computing in Matlab has "CUDA error"

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

Joss Knight
Joss Knight 2018년 6월 14일
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
Yizhu Chen 2018년 6월 19일
I have updated the Nvidia driver to the latest one. However the error still exists......

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 GPU Computing에 대해 자세히 알아보기

제품

릴리스

R2018a

질문:

2018년 6월 14일

댓글:

2018년 6월 19일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by