×

Static profitability control for speculative automatic parallelization

  • US 8,677,337 B2
  • Filed: 05/01/2008
  • Issued: 03/18/2014
  • Est. Priority Date: 05/01/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method for compilation comprising:

  • analyzing source code;

    identifying candidate code for parallelization, wherein said candidate code comprises a loop;

    determining a profitability of parallelizing the candidate code, wherein determining the profitability comprises;

    computing an execution time of a parallelized version of the loop without executing a parallelized version of the loop; and

    computing an execution time of a non-parallelized version of the loop;

    parallelizing the loop, in response to determining the execution time of a parallelized version of the loop is less than the execution time of a non-parallelized version of said loop by at least a given amount; and

    forgoing parallelization of the loop, in response to determining the execution time of said parallelized version is not less than the execution time of the non-parallelized version of said loop by at least the given amount.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×