- 专利标题: Preserving memory ordering between offloaded instructions and non-offloaded instructions
-
申请号: US17137140申请日: 2020-12-29
-
公开(公告)号: US11625249B2公开(公告)日: 2023-04-11
- 发明人: Jagadish B. Kotra , John Kalamatianos
- 申请人: ADVANCED MICRO DEVICES, INC.
- 申请人地址: US CA Santa Clara
- 专利权人: ADVANCED MICRO DEVICES, INC.
- 当前专利权人: ADVANCED MICRO DEVICES, INC.
- 当前专利权人地址: US CA Santa Clara
- 主分类号: G06F9/52
- IPC分类号: G06F9/52 ; G06F9/38 ; G06F9/30
摘要:
Preserving memory ordering between offloaded instructions and non-offloaded instructions is disclosed. An offload instruction for an operation to be offloaded is processed and a lock is placed on a memory address associated with the offload instruction. In response to completing a cache operation targeting the memory address, the lock on the memory address is removed. For multithreaded applications, upon determining that a plurality of processor cores have each begun executing a sequence of offload instructions, the execution of non-offload instructions that are younger than any of the offload instructions is restricted. In response to determining that each processor core has completed executing its sequence of offload instructions, the restriction is removed. The remote device may be, for example, a processing-in-memory device or an accelerator coupled to a memory.
公开/授权文献
信息查询