Loop nest parallelization without loop linearization
Abstract
Systems and methods may provide for identifying a nested loop iteration space in user code, wherein the nested loop iteration space includes a plurality of outer loop iterations, and distributing iterations from the nested loop iteration space across a plurality of threads, wherein each thread is assigned a group of outer loop iterations. Additionally, a compiler output may be automatically generated, wherein the compiler output contains serial code corresponding to each group of outer loop iterations and de-linearization code to be executed outside the plurality of outer loop iterations. In one example, the de-linearization code includes index recovery code that is positioned before one or more instances of the serial code in the compiler output.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A code utility system, comprising: a processor; a design interface, implemented by the processor, to receive user code, wherein the user code is to embody source code written in a high level programming language; a compiler coupled to the design interface, the compiler including: a nested loop detector to identify a nested loop iteration space in the user code, wherein the nested loop iteration space includes a plurality of outer loop iterations; a linearized iterations distributor to distribute iterations from the nested loop iteration space across a plurality of threads, wherein each thread
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗