-
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
radix_sort: failed to get memory buffer in get_good_channels line 51 #28
Comments
Hi, That's the first time the GPU is called by a Matlab built-in function, so it probably has nothing to do with "get_good_channels". Can you run "gpuDevice" and what is the output? You need the parallel computing toolbox, and the CUDA version matched to your Matlab version. And probably relatively recent GPU drivers. Thanks, |
Hi Marius, Thanks for getting back to me.
Here is the output. Best, |
Your driver version seems fine. What CUDA did you install? What OS and Matlab version are you on? |
Also, have you tried restarting Matlab and/or your computer? The GPU might be in a weird error state. |
Windows 10. VS 2013. Cuda 9.0 . |
And matlab version? Also see my other question above. |
Hi Marius, Thanks so much for your quick replies. Matlab 2018a. I have tried rebooting - the error is consistent. I'll try recompiling and see if that helps. If all else fails, I'll just move to Linux. Cheers, |
Is this VS community 2013? The standard version is no longer supported by Matlab. Wouldn't hurt to check mex -setup c++. |
It's Visual Studio Community. I chose 2013 based on your documentation. Should I try another CUDA/VS combination? |
Community 2013 should have worked, that's the setup we use, on Windows. What is the output of mex -setup c++ ? |
|
Mine is the same. Have you run it in the GUI to check that the data loading configuration is ok? Also, if you set ops.minfr_goodchannels = 0 so it doesn't run that script, do you get the same error later on? |
Hi Marius, I am able now to get past this point. I next get stuck because I get an "undefined function" when I try to call the compiled Mex function mexThSpkPC.mexw64 . From what I can find online, this seems to be due to a change introduced in Matlab (at some point). See https://www.mathworks.com/matlabcentral/answers/76958-error-message-mex-file-matlab WDYT? Best, |
Hi, Recompiling solved this. Thanks! Best, |
Hi,
For some reason, PreProccessSub fails (without error message) when calling get_good_channels. If I run the problematic lines of code from get_good_channels in the command window I can get to the final output:
but when I try to execute the function, I get the radix_sort error in the title.
Any ideas?
Thanks,
Noah
The text was updated successfully, but these errors were encountered: