System and method for context migration across CPU threads
AssigneeNVIDIA Corporation
InventorNicholas Patrick Wilt
Life of this patent
Estimating the term…
Loading patent…
AssigneeNVIDIA Corporation
InventorNicholas Patrick Wilt
Estimating the term…
One embodiment of the present invention sets forth a technique for associating arbitrary parallel processing unit (PPU) contexts with a given central processing unit (CPU) thread. The technique introduces two operators used to manage the PPU contexts. The first operator is a PPU context push, which causes a PPU driver to store the current PPU context of a calling thread on a PPU context stack and to associate a named PPU context with the calling thread. The second operator is a PPU context pop, which causes the PPU driver to restore the PPU context of a calling function to the PPU context at the top of the PPU context stack. By performing a PPU context push at the beginning of a function and a PPU context pop prior to returning from the function, the function may execute within a single CPU thread, but operate on a two distinct PPU contexts.
A method for preserving a processing unit context associated with a processing unit thread, the method comprising:
A non-transitory computer-readable medium including instructions that, when executed by a processing unit, cause the processing unit to preserve a processing unit context associated with a processing unit thread, by performing the steps of:
Dependencies are inferred from the claim text.