Invention Application
- Patent Title: PRESERVING MEMORY ORDERING BETWEEN OFFLOADED INSTRUCTIONS AND NON-OFFLOADED INSTRUCTIONS
-
Application No.: US17137140Application Date: 2020-12-29
-
Publication No.: US20220206817A1Publication Date: 2022-06-30
- Inventor: JAGADISH B. KOTRA , JOHN KALAMATIANOS
- Applicant: ADVANCED MICRO DEVICES, INC.
- Applicant Address: US CA Santa Clara
- Assignee: ADVANCED MICRO DEVICES, INC.
- Current Assignee: ADVANCED MICRO DEVICES, INC.
- Current Assignee Address: US CA Santa Clara
- Main IPC: G06F9/38
- IPC: G06F9/38 ; G06F9/30 ; G06F9/52

Abstract:
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.
Public/Granted literature
- US11625249B2 Preserving memory ordering between offloaded instructions and non-offloaded instructions Public/Granted day:2023-04-11
Information query