Method and system for reducing memory reference overhead associated with threadprivate variables in parallel programs
Abstract
A computer implemented method, system and computer program product for accessing threadprivate memory for threadprivate variables in a parallel program during program compilation. A computer implemented method for accessing threadprivate variables in a parallel program during program compilation includes aggregating threadprivate variables in the program, replacing references of the threadprivate variables by indirect references, moving address load operations of the threadprivate variables, and replacing the address load operations of the threadprivate variables by calls to runtime routines to access the threadprivate memory. The invention enables a compiler to minimize the runtime routines call times to access the threadprivate variables, thus improving program performance.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for accessing threadprivate memory for a first set of threadprivate variables in a parallel program during program compilation, the method comprising: building a call graph for a program, using a processor, wherein a node is created in the call graph for each procedure in the program and a region node is created for each region in the program; classifying a first set of threadprivate variables in the program into a second set of threadprivate variables and a third set of threadprivate variables, wherein the second set of threadprivate variables require a static initialization and the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (3)
- Krawezik et al. "Performance Comparison of MPI and three OpenMP Pargramming Styles on shared Memory Multiprocessors", Jun. 2003, ACM, pp. 118-127.
- U.S. Appl. No. 10/930,038, filed Aug. 30, 2004, Archambault et al.
- Yankekevsky et al. "a-Coral: A Multigrain, Multithreading Processor Architecture", Jun. 2001, ACM, pp. 358-367.