将数据布局与包围体积层次结构解耦
Decoupling Data Layouts from Bounding Volume Hierarchies
AI总结:
本文提出Scion语言,实现包围体积层次结构的数据布局与遍历算法解耦,展示其在高性能计算中的广泛布局优化能力,并发现不同算法和架构下的Pareto最优布局差异。
摘要:
包围体积层次结构是图形学、科学计算和数据分析中普遍使用的加速结构。其性能严重依赖于影响缓存利用率、内存带宽和向量化的关键数据布局选择。然而,在大多数编程系统中,这些布局选择与遍历逻辑紧密交织,阻碍了开发者在不同上下文中独立优化数据布局和算法,加剧了性能与可移植性的虚假二元对立。我们引入Scion,一种用于指定包围体积层次结构数据布局的领域特定语言和编译器,与树遍历算法无关。我们证明Scion可以表达高性能计算中广泛使用的布局优化,同时保持架构无关性。通过系统的设计探索,我们还识别出一种新的光线追踪布局,结合了先前工作的优化技术,在多种架构和场景中实现Pareto最优。
英文摘要:
Bounding volume hierarchies are ubiquitous acceleration structures in graphics, scientific computing, and data analytics. Their performance depends critically on data layout choices that affect cache utilization, memory bandwidth, and vectorization -- increasingly dominant factors in modern computing. Yet, in most programming systems, these layout choices are hopelessly entangled with the traversal logic. This entanglement prevents developers from independently optimizing data layouts and algorithms across different contexts, perpetuating a false dichotomy between performance and portability. We introduce Scion, a domain-specific language and compiler for specifying the data layouts of bounding volume hierarchies independent of tree traversal algorithms. We show that Scion can express a broad spectrum of layout optimizations used in high-performance computing while remaining architecture-agnostic. We demonstrate empirically that Pareto-optimal layouts (along performance and memory footprint axes) vary across algorithms, architectures, and workload characteristics. Through systematic design exploration, we also identify a novel ray tracing layout that combines optimization techniques from prior work, achieving Pareto-optimality across diverse architectures and scenes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。