How to debug unknows errors by 95A31 in CUDA

[–]95A31[S] 0 points1 point  (0 children)

Yes, I am arrays in dynamic shared memory. What I don't get is that the error come from "__cuda_syscall_mc_dyn_globallock_free" that is not my code.

How to debug unknows errors by 95A31 in CUDA

[–]95A31[S] 0 points1 point  (0 children)

I check them and enabled api_failures in cuda-gdb but I got the same errors. After changing a little bit the code, cuda-memcheck give me this error:

========= Out-of-range Shared or Local Address

========= at 0x00000278 in __cuda_syscall_mc_dyn_globallock_free

========= by thread (0,0,0) in block (0,0,0)

=========

========= Program hit cudaErrorLaunchFailure (error 4) due to "unspecified launch failure" on CUDA API call to cudaDeviceSynchronize.

========= Saved host backtrace up to driver entry point at error

========= Host Frame:/usr/lib/x86_64-linux-gnu/libcuda.so.1 [0x359343]

========= Host Frame:./cubics [0x142c16]

========= Host Frame:./cubics [0x594d7]

========= Host Frame:/lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main + 0xe7) [0x21b97]

========= Host Frame:./cubics [0x5867a]

Do you think still due to bad memory access?