Kilosort icon indicating copy to clipboard operation
Kilosort copied to clipboard

Kilosort3 - CUBLAS Error

Open aferguso2 opened this issue 3 years ago • 1 comments

I'm running into an issue sorting with ks3. I've seen other (closed) issues with CUBLAS error, but none of them have solutions. I'm running it on ~250GB of neuropixel data. I'm running on MATLAB 2018b

Error Message:

Error using * Call to sgemm in CUBLAS failed with error status: CUBLAS_STATUS_EXECUTION_FAILED.

Error in preprocessDataSub (line 106) datr = datr * Wrot; % whiten the data and scale by 200 for int16 range

Error in main_kilosort3 (line 77) rez = preprocessDataSub(ops); }^H

aferguso2 avatar Jul 08 '21 13:07 aferguso2

Same problem, running MATLAB 2018a, CUDA 9.0 (Though I have an ampere card), and setup (mex -setup C++) with Microsoft Visual C++ 2013. I do have a 3080 in the machine, and the CUDA toolbox is set up for forward compatibility and claims to be compatible. Not sure whats up.

Specifically at line 106, in preprocessDataSub: datr = datr * Wrot; % whiten the data and scale by 200 for int16 range

the vectors appear to be the right size, but still getting this error.

Despite compiling everything successfully beforehand, when I attempt to run, it needs to compile, suggesting its not making use of the compiled files. I'm not sure where it is.

aboharbf avatar Jul 19 '21 03:07 aboharbf

Hi, just wondering if anyone figured this out? I'm setting up a new PC with MATLAB 2018a and CUDA 9.0 and getting the same error.

Thanks!

j-moore94 avatar Feb 05 '24 14:02 j-moore94