内存访问低层抽象(LLAMA)的最新进展
Updates on the Low-Level Abstraction of Memory Access
AI总结:
针对异构硬件上可移植代码的内存布局适配需求,本文概述了零运行时开销的C++内存访问抽象库LLAMA的最新改进,包括编译时维数、新映射模式、SIMD支持等扩展。
摘要:
随着越来越多的程序成为内存受限型,为每种硬件架构选择最佳内存布局变得日益重要。对于可在异构硬件架构上运行的可移植代码,数据结构的内存布局选择理想情况下应与程序的其余部分解耦。内存访问低层抽象(LLAMA)是一个C++库,它提供零运行时开销的抽象层,在该层之下可自由交换内存映射,以定制数据布局、内存访问和访问插桩,重点针对嵌套结构化数据的多维数组。\n自其学术首次亮相以来,LLAMA已新增多项改进与扩展。包括实现零内存开销视图的编译时数组维数、内存访问期间的计算支持、位打包/类型切换/字节拆分的新映射、内存访问插桩,以及显式SIMD支持。本文概述了LLAMA库的最新发展。
英文摘要:
Choosing the best memory layout for each hardware architecture is increasingly important as more and more programs become memory bound. For portable codes that run across heterogeneous hardware architectures, the choice of the memory layout for data structures is ideally decoupled from the rest of a program. The low-level abstraction of memory access (LLAMA) is a C++ library that provides a zero-runtime-overhead abstraction layer, underneath which memory mappings can be freely exchanged to customize data layouts, memory access and access instrumentation, focusing on multidimensional arrays of nested, structured data. After its scientific debut, several improvements and extensions have been added to LLAMA. This includes compile-time array extents for zero-memory-overhead views, support for computations during memory access, new mappings for bit-packing, switching types, byte-splitting, memory access instrumentation, and explicit SIMD support. This contribution provides an overview of recent developments in the LLAMA library.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。