Mechanism to restrict parallelization of loops
Abstract
A computer implemented method, computer usable program code, and a system for parallelizing a loop. A parameter that will be used to limit parallelization of the loop is identified to limit parallelization of the loop. The parameter specifies a minimum number of loop iterations that a thread should execute. The parameter can be adjusted based on a parallel performance factor. A parallel performance factor is a factor that influences the performance of parallel code. A number of threads from a plurality of threads is selected for processing iterations of the loop based on the parameter. The number of threads is selected prior to execution of the first iteration of the loop.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 16.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented method for restricting how many threads are used for parallelizing a loop by a computer, the computer implemented method comprising: identifying, by the computer, a parameter used to limit parallelization of the loop, wherein the parameter specifies a minimum number of loop iterations that a thread should execute and is independent and different in value from a loop iteration count for the loop, wherein the parameter is calculated based on a function of a loop cost for the loop; and selecting, by the computer, a number of threads from a plurality of available threads for
- Claim 2Independent Claim
The computer implemented method
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Aiken et al., "Optimal Loop Parallelization," Jun. 1988, ACM, Proceedings of the ACM SIGPLAN 1998 conference on Programming Language design and Implemention, pp. 308-317.
- Chen et al. The Jrpm System for Dynamically Parallelizing Java Programs. [online] (May 2003). ACM. pp. 1-12. Retrieved From the Internet .
- Chen et al. The Jrpm System for Dynamically Parallelizing Java Programs. [online] (May 2003). ACM. pp. 1-12. Retrieved From the Internet <http://dl.acm.org/citation.cfm?id=859618.859668>.
- Hall, "Combining Interprocedural Compile-Time and Run-Time Parallelization", Information Science Institute, 1999, pp. 1-2. http://www.isi.edu/asd/compiler/project.html, retrieved Dec. 15, 2005.
- Hall, et al., "Adaptive Parallelism in Compiler-Parallelized Code", Concurrency: Practice and Experience, vol. 10, No. 14, 1998, pp. 1235-1250.