Though Robert F. Kennedy will get the credit score for popularizing it, George Bernard Shaw stated: “Some males see issues as they’re and say, ‘Why?’ I dream of issues that by no means have been and say, ‘Why not?’” Effectively, [Hadz] didn’t surprise why there weren’t many GPU debuggers. As a substitute, [Hadz] determined to create one.
It wasn’t the primary; he discovered some weblog posts by [Marcell Kiss] that helped, and that led to a collection of experiments you’ll get pleasure from studying about. Plus, don’t miss the video under that reveals off a reside demo.
Evidently in the event you don’t have an AMD GPU, this will not be immediately helpful. However it’s nonetheless an enchanting peek underneath the covers of a contemporary graphics card. Ever surprise learn how to work together with a video card with out utilizing one thing like Vulkan? This put up will inform you how.
Writing a debugger is normally a tough enterprise anyway. Working with the unusual GPU structure makes it even stranger. Traps allow you to acquire management, however implementing options like breakpoints and single-stepping isn’t easy.
We’ve used issues like CUDA and OpenCL, however we haven’t been this far down within the weeds. A minimum of, not but. CUDA, after all, is particular to NVIDIA playing cards, isn’t it?