Accelerating generic loop iterators using speculative execution
Abstract
A method, a system and a computer program product for effectively accelerating loop iterators using speculative execution of iterators. An Efficient Loop Iterator (ELI) utility detects initiation of a target program and initiates/spawns a speculative iterator thread at the start of the basic code block ahead of the code block that initiates a nested loop. The ELI utility assigns the iterator thread to a dedicated processor in a multi-processor system. The speculative thread runs/executes ahead of the execution of the nested loop and calculates indices in a corresponding multidimensional array. The iterator thread adds all the precomputed indices to a single queue. As a result, the ELI utility effectively enables a multidimensional loop to be replaced by a single dimensional loop. At the beginning of (or during) each iteration of the iterator, the ELI utility “dequeues” an entry from the queue to use the entry to access the array upon which the ELI utility iterates. The ELI utility performs concurrent iterations on the array by using the queue entries.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
In a multiple processor computer system is having a plurality of processors, a computer-implemented method comprising: in response to detecting initiation of a target program, pre-assigning a speculative iterator thread to a dedicated processor from among the plurality of processors; during the execution period of the program, initiating the speculative iterator thread at a start of a basic code block ahead of execution of a code block for a nested loop; pre-computing, via the speculative iterator thread, a plurality of indices for a multidimensional array that is associated with the nested lo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Gerhard Zumbusch; "A Container-Iterator Parallel Programming Model"; Proceedings of the 7th International Conference on Parallel Processing and Applied Mathematics, 2007; Springer-Verlag.
- Hawkins et al, "Concurrent Data Representation Synthesis" ACM, pp. 417-427, 2012.
- Kulkarni et al, "Optimistic Parallelism Requires Abstractions ", ACM, pp. 211-222, 2007.
- Milind Kulkarni et al.; "Scheduling Strategies for Optimistic Parallel Execution of Irregular Programs"; Proceedings of the Twentieth Annual Symposium on Parallelism in Algorithms and Architectures, 2008; ACM.
- Milind Kulkarni; "The Galois System: Optimistic Parallelization of Irregular Programs"; Theses and Dissertations, Cornell University Library, Jul. 2008; Cornell University Graduate School.