Efficient CUDA Debugging: Using NVIDIA Compute Sanitizer with NVIDIA Tools Extension and Creating Custom Tools

Originally published at: https://developer.nvidia.com/blog/efficient-cuda-debugging-using-compute-sanitizer-with-nvtx-and-creating-custom-tools/

NVIDIA Compute Sanitizer is a powerful tool that can save you time and effort while improving the reliability and performance of your CUDA applications. Debugging code in the CUDA environment can be both challenging and time-consuming, especially when dealing with thousands of threads. Compute Sanitizer can help! In the first post in this series, Efficient…

auto bucket = (int *)pool + 16; // Address of bucket is 16 bytes into the pool

Why is this 16 and not 64?