Cactus/Chemora框架下大规模异构系统的性能和优化抽象
Performance and Optimization Abstractions for Large Scale Heterogeneous Systems in the Cactus/Chemora Framework
摘要:
我们描述了一组较低级别的抽象,以提高现代大规模异构系统的性能。这些提供了对系统和硬件相关功能的便携式访问,在运行时间自动应用动态优化,并针对有限差分、有限体积或块结构自适应网格细化代码中使用的基于模板的代码。这些抽象包括一个新的数据结构,以管理块结构的自适应网格细化的细化信息,迭代器机制,以有效地遍历基于模板的代码中的多维数组,和一个可移植的API和实现显式SIMD矢量化。这些抽象既可以手动使用,也可以由自动代码生成作为目标,还可以在代码生成期间由编译器通过支持库使用。下面描述的实现在Cactus框架中可用,并且例如在用于相对论天体物理学模拟的爱因斯坦工具包中使用。
英文摘要:
We describe a set of lower-level abstractions to improve performance on modern large scale heterogeneous systems. These provide portable access to system- and hardware-dependent features, automatically apply dynamic optimizations at run time, and target stencil-based codes used in finite differencing, finite volume, or block-structured adaptive mesh refinement codes. These abstractions include a novel data structure to manage refinement information for block-structured adaptive mesh refinement, an iterator mechanism to efficiently traverse multi-dimensional arrays in stencil-based codes, and a portable API and implementation for explicit SIMD vectorization. These abstractions can either be employed manually, or be targeted by automated code generation, or be used via support libraries by compilers during code generation. The implementations described below are available in the Cactus framework, and are used e.g. in the Einstein Toolkit for relativistic astrophysics simulations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。