I tried to enable the CUDA Memory Checker from Visual Studio 2017. I’ve also activated the -lineinfo but when I am debugging my kernel, i am unable to see any error:
CUDA context created : 1e17ecd13b0
CUDA module loaded: 1e17ee3e470 MyFunction.cu
CUDA context created : 18dcdc6ef20
CUDA module loaded: 18dd780c4e0 MyFunction.cu
Yet, I got cudaerrorillegaladdress as output and I do not know now how to solve it.