←back to thread

AMD GPU Debugger

(thegeeko.me)
276 points ibobev | 10 comments | | HN request time: 0s | source | bottom
Show context
snarfy ◴[] No.46195053[source]
Is there not an official tool from AMD?
replies(2): >>46195175 #>>46195264 #
1. almostgotcaught ◴[] No.46195264[source]
> 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.......

replies(1): >>46195451 #
2. djmips ◴[] No.46195451[source]
to be fair it wasn't clear that was an official AMD debugger and besides that's only for debugging ROCm applications.
replies(2): >>46195764 #>>46196474 #
3. ◴[] No.46195764[source]
4. almostgotcaught ◴[] No.46196474[source]
this sentence doesn't make any sense a) ROCm is an AMD product b) ROCm "applications" are GPU "applications".
replies(3): >>46196704 #>>46196725 #>>46196746 #
5. ◴[] No.46196704{3}[source]
6. fc417fc802 ◴[] No.46196725{3}[source]
But not all GPU applications are ROCm applications (I would think).

I can certainly understand OP's confusion. Navigating parts of the GPU ecosystem that are new to you can be incredibly confusing.

7. thegeeko ◴[] No.46196746{3}[source]
there's 2 AMD KMD(kernel mode drivers) in linux: amdkfd and amdgpu .. the graphics applications use the amdgpu which is not supported by amdgdb .. amdgdb also has the limitation of requiring dwarf and and mesa/amd UMDs doesn't generate that ..
replies(1): >>46203244 #
8. dman ◴[] No.46203244{4}[source]
Do you know which one rocm uses?
replies(1): >>46203567 #
9. thegeeko ◴[] No.46203567{5}[source]
amdkfd
replies(1): >>46219123 #
10. dman ◴[] No.46219123{6}[source]
Thank you!