20-24 September 2021
US/Pacific timezone

DWARF extensions for optimized SIMT/SIMD (GPU) debugging

20 Sep 2021, 09:15
30m
GNU Tools track/Virtual-Room (LPC Virtual)

GNU Tools track/Virtual-Room

LPC Virtual

150
GNU Tools Track GNU Tools Track

Speakers

Mr Tony Tye (Advanced Micro Devices) Zoran Zaric (AMD)

Description

Abstract:
AMD has been working on adding support for GPU compute debugging to GDB. Early on, it became apparent that current DWARF would not be sufficient to support optimized SIMT/SIMD code, so we came up with extensions and generalizations that we intend to propose to DWARF 6. Although designed with GPUs in mind, the extensions are generic and can just as well be used to improve quality of debug information for CPUs and for any architecture. We've implemented the extensions in GDB, and are in the process of implementing them in LLVM. One interesting area that required extensions is DWARF expressions, support for which we're currently upstreaming to GDB. In this presentation we will give an overview of what were the problems we saw, and what we've done to address them. More information on the subject and on our proposed DWARF extensions can be found here: https://llvm.org/docs/AMDGPUDwarfExtensionsForHeterogeneousDebugging.html

I agree to abide by the anti-harassment policy I agree

Primary authors

Mr Tony Tye (Advanced Micro Devices) Zoran Zaric (AMD)

Presentation Materials