Variance analysis for translating CUDA code for execution by a general purpose processor
Abstract
One embodiment of the present invention sets forth a technique for translating application programs written using a parallel programming model for execution on multi-core graphics processing unit (GPU) for execution by general purpose central processing unit (CPU). Portions of the application program that rely on specific features of the multi-core GPU are converted by a translator for execution by a general purpose CPU. The application program is partitioned into regions of synchronization independent instructions. The instructions are classified as convergent or divergent and divergent memory references that are shared between regions are replicated. Thread loops are inserted to ensure correct sharing of memory between various threads during execution by the general purpose CPU.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for performing variance analysis, comprising: receiving an application program written using a parallel programming model for execution on a multi-core graphics processing unit and comprising a plurality of statements; representing the application program as a control flow graph that includes a plurality of nodes, each node associated with a different statement in the plurality of statements; seeding a worklist with the plurality of nodes and, for each node in the plurality of nodes, a corresponding variance vector that represents a set of thread array dimensions
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- "Posix Cell API," Symposium on Advanced Computing Systems and Infrastructures, IPSJ Symposium Series vol. 2007, No. 5, dated May 23, 2007, pp. 162-163 (4 pages total).
- Combined Search and Examination Report, GB App. No. 0905719.1, Jul. 17, 2009.
- D.Y. Hwang, et al., "Transform Nested Loops into MultiThread in Java Programming Language for Parallel Processing," KIPS Journal, vol. 5, No. 8, pp. 1997-2012, 1998.
- Eli Tilevich, et al. "J-Orchestra: Automatic Java Application Partitioning," Proc. of the 16th European Conference Ojbect Oriented Programming (ECOOP 2002), pp. 178-204, Jun. 10-14, 2002.
- Lee, et al., "Cetus-An Extensible Compiler Infrastructure for Source-toSource Transformation," 16th Annual Workshop on Languages and Compilers for Parallel Computing (LCPC' 2003), 2003. (15 pages).