Invention Grant
- Patent Title: Method for synchronizing independent cooperative thread arrays running on a graphics processing unit
-
Application No.: US11836024Application Date: 2007-08-08
-
Publication No.: US08370845B1Publication Date: 2013-02-05
- Inventor: Scott M. Le Grand
- Applicant: Scott M. Le Grand
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Patterson & Sheridan, LLP
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
One embodiment of the present invention sets forth a technique for synchronizing the execution of multiple cooperative thread arrays (CTAs) implementing a parallel algorithm that is mapped onto a graphics processing unit. An array of semaphores provides synchronization status to each CTA, while one designated thread within each CTA provides updated status for the CTA. The designated thread within each participating CTA reports completion of a given computational phase by updating a current semaphore within the array of semaphores. The designated thread then polls the status of the current semaphore until all participating CTAs have reported completion of the current computational phase. After each CTA has completed the current computational phase, all participating CTAs may proceed to the next computational phase.
Information query