-
Notifications
You must be signed in to change notification settings - Fork 249
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
Error using gpuArray #330
Comments
Can you post more information please? Command line output, recording setup, GUI or script? |
Hi there, I think I have a similar problem. I am recording with Neuropixels 3B. I use Matlab 2018a, CUDA version 9. Visual studio 2013. During CUDA compiling I got this error: Error using mex However, if I deactivate enableStablemode (line 5, mexGPUall "enableStableMode = 0;" ) it compiles succesfully. Time 0s. Computing whitening matrix.. 766 But then this error: Warning: An unexpected error occurred during CUDA execution. The CUDA error was:
Error in gpuArray/subsindex (line 17) Error in standalone_detector (line 67) Error in datashift2 (line 58) Error in ksGUI/runPreproc (line 726) Error in ksGUI>@( Error while evaluating UIControl Callback. |
what GPU do you have? Is the CUDA version exactly 9.0, as required by Matlab 2018a? |
Also, getting a CUDA error is very non-specific, and unlikely to be related to @obsee's problem. CUDA just doesn't throw informative errors if it crashes. |
I have a quadro p400. I do have CUDA version 9.0 , as required by matlab2018a. Actually, it seems I cannot pass anything to the GPU. D = gpuArray([ 0 0 0]); |
This has only 2GB of GPU RAM, which is too little for a Neuropixels probe. You'll need to upgrade to at least 6GB and ideally 8GB of GPU RAM, but it doesn't have to be a quadro card, GTX or RTX is fine. |
Hi @marius10p , I have an error that looks similar but I'm not sure. My GPU ram is also 2GB and I'm working on getting a better one, but in the meantime, could there be another problem? |
@marius10p thanks for the tip. Would it be possible for Kilosort to check the available RAM and offer a more informative error? |
Error using gpuArray
An unexpected error occurred during CUDA execution. The CUDA error was:
an illegal memory access was encountered
during initial step in running kilosort
This kind of errors appear.
Could you help me out?
The text was updated successfully, but these errors were encountered: