Methods and apparatus for interactive debugging on a non-preemptible graphics processing unit
AssigneeNVIDIA Corporation
InventorsAvinash Bantval Baliga, Gregory Paul Smith
Life of this patent
Estimating the term…
Loading patent…
AssigneeNVIDIA Corporation
InventorsAvinash Bantval Baliga, Gregory Paul Smith
Estimating the term…
Systems and methods are disclosed for performing interactive debugging of shader programs using a non-preemptible graphics processing unit (GPU). An iterative process is employed to repeatedly re-launch a workload for processing by the shader program on the GPU. When the GPU encounters a hardware stop event, such as by reaching a breakpoint in any thread of the shader program, encountering a hardware exception, or failing a software assertion in the shader program, the state of any executing threads is saved, graphics memory is copied to system memory, and any currently executing threads are killed to enable the GPU to process graphics data for updating a display device. Each pass of the workload may result in incrementally more data being processed. In effect, the changing state and variable data resulting from each pass of the workload has the effect that the debugger is incrementally stepping through the shader program.
A method for performing interactive debugging on non-preemptible graphics processing units, the method comprising:
A non-transitory computer-readable storage medium storing a debugger that, when executed by a processing unit, causes the processing unit to perform the steps of:
A system for performing interactive debugging on non-preemptible graphics processing units, the system comprising:
Dependencies are inferred from the claim text.