Invention Grant
- Patent Title: Techniques for comprehensively synchronizing execution threads
-
Application No.: US16595398Application Date: 2019-10-07
-
Publication No.: US10977037B2Publication Date: 2021-04-13
- Inventor: Ajay Sudarshan Tirumala , Olivier Giroux , Peter Nelson , Jack Choquette
- Applicant: NVIDIA Corporation
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Artegis Law Group, LLP
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/38 ; G06F9/46

Abstract:
In one embodiment, a synchronization instruction causes a processor to ensure that specified threads included within a warp concurrently execute a single subsequent instruction. The specified threads include at least a first thread and a second thread. In operation, the first thread arrives at the synchronization instruction. The processor determines that the second thread has not yet arrived at the synchronization instruction and configures the first thread to stop executing instructions. After issuing at least one instruction for the second thread, the processor determines that all the specified threads have arrived at the synchronization instruction. The processor then causes all the specified threads to execute the subsequent instruction. Advantageously, unlike conventional approaches to synchronizing threads, the synchronization instruction enables the processor to reliably and properly execute code that includes complex control flows and/or instructions that presuppose that threads are converged.
Public/Granted literature
- US20200034143A1 TECHNIQUES FOR COMPREHENSIVELY SYNCHRONIZING EXECUTION THREADS Public/Granted day:2020-01-30
Information query