cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

biubiuty
Journeyman III

memory checker for HIP code

Dear forum,

I've got a large codebase written in CUDA. I ported it to HIP, tested it on Nvidia platform. The computation results are correct, and cuda-memcheck finds no memory-related errors.

But I have encountered a lot of problems using ROCm on AMD platform. Without crashing at runtime, my code run on a Vega 56 GPU yields wrong results. I'm wondering if there is any memory checker available for ROCm that seeks invalid memory access and uninitialized variable use, similar to cuda-memcheck for Nvidia GPUs and valgrind for CPUs. Thanks for any advice.

1 Reply

Great question!  amdmatt  ray_m‌  fsadough‌  do you guys know if there is a utility from AMD to check this?

0 Likes