CUDA Pro Tip: Clean Up After Yourself to Ensure Correct Profiling

Originally published at: https://developer.nvidia.com/blog/pro-tip-clean-up-after-yourself-ensure-correct-profiling/

NVIDIA’s profiling and tracing tools, including the NVIDIA Visual Profiler, NSight Eclipse and Visual Studio editions, cuda-memcheck, and the nvprof command line profiler are powerful tools that can give you deep insight into the performance and correctness of your GPU-accelerated applications. These tools gather data while your application is running, and use it to create…