cortex-lab / KiloSort

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

CUDA error kilosort 3 #234

Open Shivooone opened 3 years ago

Shivooone commented 3 years ago

Hello,

I'm trying to do a recording analysis with Kilosort3 but have this error

(Shiva) C:\Users\flavi\Desktop\Analysis1>C:

(Shiva) C:\Users\flavi\Desktop\Analysis1>cd C:\Users\flavi\Desktop\Analysis1\tmp_KS7

(Shiva) C:\Users\flavi\Desktop\Analysis1\tmp_KS7>matlab -nosplash -wait -log -r kilosort3_master [Warning: Name is nonexistent or not a directory: C:\Users\flavi\AppData\Local\Temp\Editor_kpdit] Time 0s. Computing whitening matrix.. Getting channel whitening matrix... Channel-whitening matrix computed. Time 4s. Loading raw data and applying filters... Time 7s. Finished preprocessing 3 batches. vertical pitch size is 20 horizontal pitch size is 32 11 27 43 59

766

[Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In standalone_detector (line 10) In datashift2 (line 58) In kilosort3_master (line 23)] [Warning: An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESS] [> In datashift2 (line 3) In kilosort3_master (line 23)] ----------------------------------------Error using gpuArray/gather An unexpected error occurred during CUDA execution. The CUDA error was: CUDA_ERROR_ILLEGAL_ADDRESSERROR: MATLAB error Exit Status: 0x00000001

My cuda version is ans =

CUDADevice with properties:

                  Name: 'Quadro P400'
                 Index: 1
     ComputeCapability: '6.1'
        SupportsDouble: 1
         DriverVersion: 11.2000
        ToolkitVersion: 10.2000
    MaxThreadsPerBlock: 1024
      MaxShmemPerBlock: 49152
    MaxThreadBlockSize: [1024 1024 64]
           MaxGridSize: [2.1475e+09 65535 65535]
             SIMDWidth: 32
           TotalMemory: 2.1475e+09
       AvailableMemory: 1.6487e+09
   MultiprocessorCount: 2
          ClockRateKHz: 1252500
           ComputeMode: 'Default'
  GPUOverlapsTransfers: 1
KernelExecutionTimeout: 1
      CanMapHostMemory: 1
       DeviceSupported: 1
        DeviceSelected: 1

My equipment is OS: Win10 64x Matlab version: 2020b CUDA ToolkitVersion: 10.2 Compiler (C++): Microsoft Visual C++ 2015

I would be so grateful if you could help me !! I know other issues were opened on this topic but I already tried everything that was suggested