Total Recall: A Debugging Framework for GPUs
dc.contributor.author | Sharif, Ahmad | en_US |
dc.contributor.author | Lee, Hsien-Hsin S. | en_US |
dc.contributor.editor | David Luebke and John Owens | en_US |
dc.date.accessioned | 2013-10-28T10:19:24Z | |
dc.date.available | 2013-10-28T10:19:24Z | |
dc.date.issued | 2008 | en_US |
dc.description.abstract | GPUs 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.seriesinformation | Graphics Hardware | en_US |
dc.identifier.isbn | 978-3-905674-09-5 | en_US |
dc.identifier.issn | 1727-3471 | en_US |
dc.identifier.uri | https://doi.org/10.2312/EGGH/EGGH08/013-020 | en_US |
dc.publisher | The Eurographics Association | en_US |
dc.subject | Categories and Subject Descriptors (according to ACM CCS): I.3.3 [Computer Graphics]: GPUs, Debugging | en_US |
dc.title | Total Recall: A Debugging Framework for GPUs | en_US |
Files
Original bundle
1 - 1 of 1