When i use cuStreamQuery , error occur:"an illegal memory access was encountered"

image

it means that prior to that point, one of your kernels did something illegal.