-
Notifications
You must be signed in to change notification settings - Fork 222
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
CUDA error #173
Comments
Hey, I'm just a user here, not a developer, but I believe I might have experienced the same problem before. MATLAB R2019b might not support VS 2013. It's a bit too old. You can type |
Hi, I believe that I came across this same issue with MATLAB 2019b and CUDA 10.1. The first problem is, as Addisonbc stated, VS 2013 is too old. Try installing Visual Studio 2019 Community and then running 'mex cpp -setup' and selecting VS 2019. The second issue is what I believe to be a bug in MATLAB 2019. Try using this MathWorks-provided workaround (it worked for me). Link to the bug report: https://www.mathworks.com/support/bugreports/2059103 |
Thanks for your comments. Switching to MATLAB2018b and Cuda toolkit 9.1 fixed the issue. Thanks! |
We receive an error when trying to run "mexGPUall" (described below). MATLAB correctly recognizes the Quadro RTX 5000 GPU. I am using MATLAB R2019b and have downloaded VS community 2013, Cuda toolkit 10.1, MATLAB Support for MinGW-w64 C/C++ Compiler, and the GUI layout toolbox. Any suggestions.
When I run
when I run
Error in mexcuda (line 166)
[varargout{1:nargout}] = mex(mexArguments{:});
Error in mexGPUall (line 5)
mexcuda -largeArrayDims mexThSpkPC.cu
The problem is that I don't know why mexGPUall will not run successfully, since I believe I do have the supported compiler.
The text was updated successfully, but these errors were encountered: