I have been using cuda-memcheck to check any cuda code that I write. However, running cuda-memcheck on my code report a cudaErrorNotReady error when I use cudaStreamQuery().
The call returns “cudaErrorNotReady” which is fine as it means that Gpu stream is still performing work. However cuda-memcheck picks it up as an error which seems like a bug.
Program hit cudaErrorNotReady (error 34) due to "device not ready" on CUDA API call to cudaStreamQuery. ========= Saved host backtrace up to driver entry point at error ========= Host Frame:/usr/lib/i386-linux-gnu/libcuda.so.1 [0x377c43]
Has anyone else experienced the same issue?