-
公开(公告)号:US20240419482A1
公开(公告)日:2024-12-19
申请号:US18336420
申请日:2023-06-16
Applicant: Advanced Micro Devices, Inc.
Inventor: ZengRong Huang , Fang Xia , HaiKun Dong , XiaoJing Ma , YongTao Yu , YinZhu Xue , Alexander Fuad Ashkar , Manu Rastogi
IPC: G06F9/48
Abstract: Systems and methods for efficient context switching in multithread processors are disclosed. A processing system comprises a direct memory access module configured to detect a preemption request generated by the scheduling circuit. Responsive to the preemption request, the direct memory access module determines whether execution of a first task from a plurality of tasks needs to be replaced by execution of a second task. When the replacement is necessitated, the module saves a first plurality of registers associated with the first task at a memory location transmitted by the scheduling circuit and queues the second task for execution. The memory location is transmitted by the scheduling circuit as part of the preemption request.