US 12,014,202 B2
Method and apparatus with accelerator
Jaehyung Ahn, Suwon-si (KR); Minsoo Rhu, Daejeon (KR); and Yujeong Choi, Daejeon (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR); and Korea Advanced Institute of Science and Technology, Daejeon (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR); and KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY, Daejeon (KR)
Filed on Dec. 11, 2020, as Appl. No. 17/119,197.
Claims priority of provisional application 62/975,944, filed on Feb. 13, 2020.
Claims priority of application No. 10-2020-0080372 (KR), filed on Jun. 30, 2020.
Prior Publication US 2021/0256373 A1, Aug. 19, 2021
Int. Cl. G06F 9/46 (2006.01); G06F 9/48 (2006.01); G06F 15/16 (2006.01); G06N 3/04 (2023.01); G06N 3/08 (2023.01)
CPC G06F 9/461 (2013.01) [G06F 9/485 (2013.01); G06F 15/161 (2013.01); G06N 3/04 (2013.01); G06N 3/08 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method of operating an accelerator, the method comprising:
receiving a request for preemption during an execution of a first task using one or more processing elements comprised in the accelerator;
in response to the request for preemption, moving context information of the first task stored in an internal memory of the accelerator to an external memory of the accelerator, including determining whether to execute a target instruction of the first task, which is requested to be suspended, during the moving of the context information to the external memory; and
executing a second task associated with the request for preemption using the processing elements.