Neural network operation reordering for parallel execution
Abstract
Techniques are disclosed for reordering operations of a neural network to improve runtime efficiency. In some examples, a compiler receives a description of the neural network comprising a plurality of operations. The compiler may determine which execution engine of a plurality of execution engines is to perform each of the plurality of operations. The compiler may determine an order of performance associated with the plurality of operations. The compiler may identify a runtime inefficiency based on the order of performance and a hardware usage for each of the plurality of operations. An operation may be reordered to reduce the runtime inefficiency. Instructions may be compiled based on the plurality of operations, which include the reordered operation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: receiving, by a compiler, a description of a neural network comprising a plurality of operations; identifying a set of diverging branches within the plurality of operations, the set of diverging branches including a first branch and a second branch; determining that the first branch is to be performed after the second branch; determining a first memory usage associated with the first branch and a second memory usage associated with the second branch; determining that the first memory usage is less than the second memory usage; and modifying an order of performance of the p
- Claim 2Depends on #1
The method of claim 1 , further comprising: generating machine instructions based on the modified order of performance.
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 (10)
Non-Patent Literature (5)
- Ambrosi et al., “Hardware-Software Co-Design for an Analog-Digital Accelerator for Machine Learning”, International Conference on Rebooting Computing (ICRC), Nov. 7, 2018, pp. 1-13.
- Application No. PCT/US2020/037317, International Search Report and Written Opinion, dated Sep. 18, 2020, 12 pages.
- Bae et al., “Auto-Tuning CNNs for Coarse-Grained Reconfigurable Array-Based Accelerators”, IEEE Transactions on Computer Aided Design of Integrated Circuits and Systems, vol. 37, No. 11, Nov. 1, 2018, pp. 2301-2310.
- U.S. Appl. No. 16/453,478, Non-Final Office Action, dated Oct. 30, 2020, 7 pages.
- U.S. Appl. No. 16/453,478, Notice of Allowance, dated Feb. 4, 2021, 7 pages.