发明名称 |
Process device context switching |
摘要 |
Methods, systems, and computer readable media embodiments are disclosed for preemptive context-switching of processes running on an accelerated processing device. A method includes, responsive to an exception upon access to a memory by a process running on a accelerated processing device, whether to preempt the process based on the exception, and preempting, based upon the determining, the process from running on the accelerated processing device. |
申请公布号 |
US9256465(B2) |
申请公布日期 |
2016.02.09 |
申请号 |
US201113289730 |
申请日期 |
2011.11.04 |
申请人 |
Advanced Micro Devices, Inc. |
发明人 |
Hartog Robert Scott;Taylor Ralph Clay;Mantor Michael;McGrath Kevin;Nussbaum Sebastien;Jayasena Nuwan;McCrary Rex;Leather Mark;Rogers Philip J.;Woller Thomas R. |
分类号 |
G06F15/16;G06F15/00;G06T1/00;G06F9/48 |
主分类号 |
G06F15/16 |
代理机构 |
Volpe and Koenig, P.C. |
代理人 |
Volpe and Koenig, P.C. |
主权项 |
1. A method, comprising:
receiving a notification that an attempt to retrieve data from a memory for a requesting process running on an accelerated processing device failed; determining a type of memory exception that occurred based on the received notification; accessing collected updatable statistics associated with the determined type of memory exception; responsive to the notification, determining whether to preempt the process based upon the statistics; and initiating preempting the process from running on the accelerated processing device based upon the determining whether to preempt the process. |
地址 |
Sunnyvale CA US |