Cooperative thread array granularity context switch during trap handling

Techniques are provided for handling a trap encountered in a thread that is part of a thread array that is being executed in a plurality of execution units. In these techniques, a data structure with an identifier associated with the thread is updated to indicate that the trap occurred during the ex...

Full description

Saved in:
Bibliographic Details
Main Authors Luiz, Gerald F, Durant, Luke, Ohannessian, Robert, Danskin, Arthur, Shah, Lacky V, Gadre, Shirish, Cuadra, Philip Alexander, Wang, Nicholas
Format Patent
LanguageEnglish
Published 14.05.2019
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Techniques are provided for handling a trap encountered in a thread that is part of a thread array that is being executed in a plurality of execution units. In these techniques, a data structure with an identifier associated with the thread is updated to indicate that the trap occurred during the execution of the thread array. Also in these techniques, the execution units execute a trap handling routine that includes a context switch. The execution units perform this context switch for at least one of the execution units as part of the trap handling routine while allowing the remaining execution units to exit the trap handling routine before the context switch. One advantage of the disclosed techniques is that the trap handling routine operates efficiently in parallel processors.
Bibliography:Application Number: US201213728784