CFDlang: High-level code generation for high-order methods in fluid dynamics

被引:15
|
作者
Rink, Norman A. [1 ]
Huismann, Immo [1 ]
Susungi, Adilla [2 ]
Castrillon, Jeronimo [1 ]
Stiller, Joerg [1 ]
Froehlich, Jochen [1 ]
Tadonki, Claude [2 ]
机构
[1] Tech Univ Dresden, Dresden, Germany
[2] PSL Res Univ, MINES ParisTech, Paris, France
关键词
language (DSL) design; code generation and optimization; tensor expressions; numerical methods; computational fluid dynamics (CFD); PERFORMANCE;
D O I
10.1145/3183895.3183900
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Numerical simulations continue to enable fast and enormous progress in science and engineering. Writing efficient numerical codes is a difficult challenge that encompasses a variety of tasks from designing the right algorithms to exploiting the full potential of a platform's architecture. Domain-specific languages (DSLs) can ease these tasks by offering the right abstractions for expressing numerical problems. With the aid of domain knowledge, efficient code can then be generated automatically from abstract expressions. In this work, we present the CFDlang DSL for expressing tensor operations that constitute the performance-critical code sections in a class of real numerical applications from fluid dynamics. We demonstrate that CFDlang can be used to generate code automatically that performs as well, if not better, than carefully hand-optimized code.
引用
收藏
页数:10
相关论文
共 50 条
  • [1] A perspective on high-order methods in computational fluid dynamics
    ZhiJian Wang
    Science China Physics, Mechanics & Astronomy, 2016, 59
  • [2] A perspective on high-order methods in computational fluid dynamics
    ZhiJian Wang
    Science China(Physics,Mechanics & Astronomy), 2016, (01) : 7 - 12
  • [3] A perspective on high-order methods in computational fluid dynamics
    Wang, ZhiJian
    SCIENCE CHINA-PHYSICS MECHANICS & ASTRONOMY, 2016, 59 (01) : 1 - 6
  • [4] Enablers for high-order level set methods in fluid mechanics
    Luddens, Francky
    Bergmann, Michel
    Weynans, Lisl
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN FLUIDS, 2015, 79 (12) : 654 - 675
  • [5] Automated generation of marshaling code from high-level specifications
    Weigert, T
    Dietz, P
    SDL 2003: SYSTEM DESIGN, PROCEEDINGS, 2003, 2708 : 374 - 386
  • [6] High-order harmonic generation as a probe of rotational dynamics
    Ramakrishna, S.
    Seideman, Tamar
    PHYSICAL REVIEW A, 2008, 77 (05):
  • [7] New High-order Methods using Gaussian Processes for Computational Fluid Dynamics Simulations
    Lee, Dongwook
    Reyes, Adam
    Graziani, Carlo
    Tzeferacos, Petros
    11TH INTERNATIONAL CONFERENCE ON NUMERICAL MODELING OF SPACE PLASMA FLOWS (ASTRONUM-2016), 2017, 837
  • [8] Dynamics of high-order harmonic generation in extended molecules
    Bandrauk, AD
    Yu, HT
    LASER PHYSICS, 1999, 9 (01) : 155 - 162
  • [9] High-level networking with mobile code and first order AND-continuations
    Tarau, P
    Dahl, V
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2001, 1 (03) : 359 - 380
  • [10] tcc: A system for fast, flexible, and high-level dynamic code generation
    Poletto, M
    Engler, DR
    Kaashoek, MF
    ACM SIGPLAN NOTICES, 1997, 32 (05) : 109 - 121