Valgrind for OpenACC?

I suspect that I have a memory leak in my OpenACC program that is leaving some memory allocated on the device, leading eventually to a full GPU. Is there some way to track this like with Valgrind?

Try using “cuda-memcheck”. It’s part of NVIDIA’s CUDA Toolkit (https://developer.nvidia.com/cuda-toolkit)

  • Mat