Patent ID: 8782611
Filing Date: 2014-07-15
Classification: G06F

Abstract:
1. A computer-implemented method for debugging a software program executing on a parallel processor, the method comprising: receiving breakpoint information from a development environment, wherein the breakpoint information is associated with a breakpoint set on a first instruction of one or more instructions included within a parallel processor unit (PPU) portion of the software program, wherein the software program includes both the PPU portion and a central processor unit (CPU) portion; injecting a debugging routine into the PPU portion of the software program based on the breakpoint information, wherein the debugging routine causes the parallel processor to interrupt the execution of the PPU portion of the software program when the first instruction is executed by a first thread in a first thread group executing within the parallel processor, and wherein each thread within the first thread group executes the one or more instructions on the different input data; receiving a notification from a driver indicating that the first instruction has been executed by the first thread in the first thread group and that the execution of the PPU portion of the software program has been interrupted; retrieving thread state information associated with the first thread group; and transmitting the thread state information associated with the first thread group to a user interface for display on a display device.