AMD GPU Debugger
121 points
2 hours ago
| 4 comments
| thegeeko.me
| HN
shetaye
1 hour ago
[-]
There also exists cuda-gdb[1], a first-party GDB for NVIDIA's CUDA. I've found it to be pretty good. Since CUDA uses a threading model, it works well with the GDB thread ergonomics (though you can only single-step at the warp granularity IIRC by the nature of SM execution).

[1] https://docs.nvidia.com/cuda/cuda-gdb/index.html

reply
snarfy
1 hour ago
[-]
Is there not an official tool from AMD?
reply
c2h5oh
1 hour ago
[-]
reply
almostgotcaught
59 minutes ago
[-]
> After searching for solutions, I came across rocgdb, a debugger for AMD’s ROCm environment.

It's like the 3rd sentence in the blog post.......

reply
djmips
44 minutes ago
[-]
to be fair it wasn't clear that was an official AMD debugger and besides that's only for debugging ROCm applications.
reply
danjl
18 minutes ago
[-]
For NVIDIA cards, you can use NSight. There's also RenderDoc that works on a large number of GPUs.
reply
_zoltan_
2 minutes ago
[-]
nsys and nvtx are awesome.

many don't know but you can use them without GPUs :)

reply
whalesalad
11 minutes ago
[-]
Tangent: is anyone using a 7900 XTX for local inference/diffusion? I finally installed Linux on my gaming pc, and about 95% of the time it is just sitting off collecting dust. I would love to put this card to work in some capacity.
reply