×

Method for synchronizing independent cooperative thread arrays running on a graphics processing unit

  • US 8,473,948 B1
  • Filed: 08/08/2007
  • Issued: 06/25/2013
  • Est. Priority Date: 08/08/2007
  • Status: Active Grant
First Claim
Patent Images

1. A method for synchronizing a plurality of cooperative thread arrays (CTAs) executing an algorithm within a parallel processing system, the method comprising:

  • for a first plurality of threads within each CTA of the plurality of CTAs, performing a first set of computations associated with a first pass of the algorithm;

    for each CTA in the plurality of CTAs, performing a thread synchronization operation across the first plurality of threads with the CTA to ensure that all threads within the first plurality of threads within the CTA have completed the first set of computations;

    for each CTA in the plurality of CTAs, performing an atomic add operation via a first thread within the CTA to increment a first semaphore to indicate that all threads within the first plurality of threads within the CTA have completed the first set of computations; and

    for each CTA in the plurality of CTAs, performing a semaphore wait operation to ensure that each CTA within the plurality of CTAs has completed the first set of computations.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×