nvbench icon indicating copy to clipboard operation
nvbench copied to clipboard

Check for CUDA errors after running benchmark

Open alliepiper opened this issue 3 years ago • 0 comments

We recently had an issue where a benchmark kernel caused an illegal memory access, and the error was asynchronously reported in an unrelated NVBench CUDA API call. Any errors emitted during the execution of a benchmark should be correctly reported as originating from the benchmark execution.

We should add NVBENCH_CUDA_CALL(cudaGetLastError()); or similar in the detail/measure_* runners after each kernel execution.

alliepiper avatar May 13 '22 17:05 alliepiper