arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.17101cs.MS
收藏

MIRGE:基于数组的科学计算计算框架

MIRGE: An Array-Based Computational Framework for Scientific Computing

University of Illinois Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校)

Matthias Diener, Matthew J. Smith, Michael T. Campbell, Kaushik Kulkarni, Michael J. Anderson, Andreas Klöckner, William Gropp, Jonathan B. Freund, Luke N. Olson

AI总结:

MIRGE是一种基于数组的科学计算框架,通过惰性求值和数据流图提升性能与可移植性,适用于科学计算与应用开发。

摘要:

MIRGE是一种基于NumPy-like数组计算的科学计算计算方法,但使用惰性求值将计算转换为数据流图,其中节点代表不可变的多维数组。数组表达式的评估被推迟到其值需要时,此时会调用流水线,将高级数组表达式转换为低级中间表示(IR)并最终转换为可执行代码,通过多阶段过程。领域特定的转换,如元数据驱动的优化、GPU并行化策略和循环融合技术,提高了性能和内存效率。MIRGE使用"数组上下文"来抽象数组表达式和异构执行环境(例如,通过OpenCL实现的惰性求值,或通过NumPy或CuPy实现的急切求值)。该框架因此实现了性能可移植性,并在应用逻辑、低级实现和优化之间实现了分离。通过在实现科学表达性的同时促进性能调优,MIRGE提供了一个稳健、可扩展的平台,用于计算研究和科学应用开发。本文概述了MIRGE。我们进一步描述了MIRGE-Com的应用,用于离散有限元设置中的超音速燃烧流。我们展示了其作为求解器的能力,并突显了其在大规模GPU硬件上的性能特征。

英文摘要:

MIRGE is a computational approach for scientific computing based on NumPy-like array computation, but using lazy evaluation to recast computation as data-flow graphs, where nodes represent immutable, multi-dimensional arrays. Evaluation of an array expression is deferred until its value is needed, at which point a pipeline is invoked that transforms high-level array expressions into lower-level intermediate representations (IR) and finally into executable code, through a multi-stage process. Domain-specific transformations, such as metadata-driven optimizations, GPU-parallelization strategies, and loop fusion techniques, improve performance and memory efficiency. MIRGE employs "array contexts" to abstract the interface between array expressions and heterogeneous execution environments (for example, lazy evaluation via OpenCL, or eager evaluation via NumPy or CuPy). The framework thus enables performance portability as well as separation of concerns between application logic, low-level implementation, and optimizations. By enabling scientific expressivity while facilitating performance tuning, MIRGE offers a robust, extensible platform for both computational research and scientific application development. This paper provides an overview of MIRGE. We further describe an application of MIRGE called MIRGE-Com, for supersonic combusting flows in a discontinuous Galerkin finite-element setting. We demonstrate its capabilities as a solver and highlight its performance characteristics on large-scale GPU hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑