cortex-lab / KiloSort

GPU code for spike sorting
GNU General Public License v2.0
175 stars 100 forks source link

CUDA errors in running KiloSort - Please advise! #247

Open SiddharthaJoshiLC opened 2 years ago

SiddharthaJoshiLC commented 2 years ago

For the same experiement but different recording sessions, we sometimes get no error and sometimes get the following errors:

An unexpected error occurred trying to launch a kernel. The CUDA error was: invalid configuration argument.

Details about the error message are in attached image files:

IMG_1863 IMG_1861

jjtukker commented 2 years ago

I ran into something similar at one point (kilosort3), unfortunately I don't remember exactly how I resolved it but it might have been related to mexGPUall.m In case you have not already done so, you need to run this (in the CUDA directory). Sorry if this is not helpful..

joaohnp commented 2 years ago

Hi, did you get to find a solution to this? I'm having the same error. Thanks!

colonnese commented 1 year ago

I am also getting these. On about every 3rd recording. If anyone solved it it would help.

sv-bio commented 1 year ago

Try to run mexGPUall.m with stable mode off.