Hi, I have unit tests that run a bunch of CUDA code, including cuFFT and cuBLAS. If I run the unit test in a loop without cuda-memcheck, it passes every time. However, if I added cuda-memcheck, on the second iteration I start to see a swath of errors:
CUDA Runtime Error: an illegal instruction was encountered
cuRand Runtime Error
cudaMalloc Error: an illegal instruction was encountered
The line numbers it gives seems to have no relation to the error. For example, the runtime error is on a line that simply does cudaDeviceSynchronize. Is this expected?