Total Recall: A Debugging Framework for GPUs

dc.contributor.authorSharif, Ahmaden_US
dc.contributor.authorLee, Hsien-Hsin S.en_US
dc.contributor.editorDavid Luebke and John Owensen_US
dc.date.accessioned2013-10-28T10:19:24Z
dc.date.available2013-10-28T10:19:24Z
dc.date.issued2008en_US
dc.description.abstractGPUs have transformed from simple fixed-function processors to powerful, programmable stream processors and are continuing to evolve. Programming these massively parallel GPUs, however, is very different from programming a sequential CPU. Lack of native support for debugging coupled with the parallelism in the GPU makes program development for the GPU a non-trivial task. As GPU programs grow in complexity because of scaling in maximum allowed program size and increased demand in terms of realism, debugging GPU code is becoming a major timesink for content developers. In addition to more complex shaders, applications are using multi-pass effects in order to create more convincing reality. In this paper, we present a debugging framework that can be employed to debug complex code running on the GPU in an efficient manner. By observing the API calls of the application that are made to the 3D runtime, the framework can keep track of the program's state in memory. Upon the programmer's request, it is able to capture and deterministically replay the stream of instructions that caused the final write to a pixel of interest. This execution stream includes writes to intermediate render targets and spans across shader boundaries. The stream of instructions can then be replayed on the CPU via emulation and the programmer can debug the straight-line code with ease. We also present a hardware-friendly scheme that can be used to accelerate the debugging process for long-chain multi-pass effects.en_US
dc.description.seriesinformationGraphics Hardwareen_US
dc.identifier.isbn978-3-905674-09-5en_US
dc.identifier.issn1727-3471en_US
dc.identifier.urihttps://doi.org/10.2312/EGGH/EGGH08/013-020en_US
dc.publisherThe Eurographics Associationen_US
dc.subjectCategories and Subject Descriptors (according to ACM CCS): I.3.3 [Computer Graphics]: GPUs, Debuggingen_US
dc.titleTotal Recall: A Debugging Framework for GPUsen_US
Files
Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
013-020.pdf
Size:
566.04 KB
Format:
Adobe Portable Document Format