×

Methods and apparatus for optimal OpenMP application performance on Hyper-Threading processors

  • US 20040199919A1
  • Filed: 04/04/2003
  • Published: 10/07/2004
  • Est. Priority Date: 04/04/2003
  • Status: Abandoned Application
First Claim
Patent Images

1. A method for assigning OpenMP software application threads executed by multiple physical processors, each physical processor having at least two logical processors, the method comprising:

  • maintaining a global thread count, wherein the global thread count is adapted to reflect the number of active threads being executed by the multiple physical processors;

    executing an application parallel region, wherein the application parallel region comprises a plurality of OpenMP software application threads; and

    assigning affinity to each of the plurality of OpenMP software application threads if the global thread count is not greater than the number of physical processors, whereby each of the physical processors executes no more than one of the plurality of OpenMP software application threads.

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