Cache aware self-referential structure peeling
Abstract
Methods of compiling source code are provided. A method includes identifying a first array of structures (AOS), having a plurality of array elements, each array element being a structure with a plurality of fields, and performing structure peeling on the first AOS to convert a data layout of the first AOS to an array of structure of arrays (AOSOA) including a plurality of memory blocks of uniform block size. At least one of the plurality of memory blocks is allocated for each field of the plurality of fields. The method further includes allocating a number of complete memory blocks to accommodate all of the plurality of array elements of the AOS.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for compiling source code comprising: identifying, by a compiler, a first array of structures (AOS), having a plurality of array elements, each array element being a structure with a plurality of fields; identifying, by the compiler, a second AOS, having a second plurality of array elements, each second array element being the structure with the plurality of fields of a same type as the plurality of fields of the first AOS; performing a first structure peeling, by the compiler, on the first AOS to convert a data layout of the first AOS to a first array of structure of arrays (AOSOA) c
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,755,300 B1 | Systems and methods for array structure processing | 2023 | 0 |
References Cited — Backward Prior Art (11)
Non-Patent Literature (3)
- Chakrabarti, G. et al., "Structure Layout Optimizations in the Open64 Compiler: Design, Implementation and Measurements," Proceedings of the Open64 Workshop, International Symposium on Code Generation and Optimization, Apr. 6-9, 2008, 11 pages, Boston, MA, USA.
- Golovanevksy, O. et al., "Struct-reorg: current status and future perspectives," Proceedings of the GCC Developers Summit, Jul. 18-20, 2007, 12 pgs., Ottawa, ON, CA.
- Lattner, C., "Macroscopic Data Structure Analysis and Optimization," Doctoral Dissertation, University of Illinois at Urbana-Champaign, 2005, 226 pgs., Urbana, IL, USA.