Invention Grant
- Patent Title: Conditional atomic operations in single instruction multiple data processors
-
Application No.: US14728643Application Date: 2015-06-02
-
Publication No.: US10209990B2Publication Date: 2019-02-19
- Inventor: David A. Wood , Steven K. Reinhardt , Bradford M. Beckmann , Marc S. Orr
- 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/52
- IPC: G06F9/52 ; G06F9/30 ; G06F9/345 ; G06F9/38

Abstract:
A conditional fetch-and-phi operation tests a memory location to determine if the memory locations stores a specified value and, if so, modifies the value at the memory location. The conditional fetch-and-phi operation can be implemented so that it can be concurrently executed by a plurality of concurrently executing threads, such as the threads of wavefront at a GPU. To execute the conditional fetch-and-phi operation, one of the concurrently executing threads is selected to execute a compare-and-swap (CAS) operation at the memory location, while the other threads await the results. The CAS operation tests the value at the memory location and, if the CAS operation is successful, the value is passed to each of the concurrently executing threads.
Public/Granted literature
- US20160357551A1 CONDITIONAL ATOMIC OPERATIONS AT A PROCESSOR Public/Granted day:2016-12-08
Information query