High-Productivity Parallelism With Python']Python Plus Packages (But Without a Cluster)

被引:1
作者
Bartlett, John [1 ]
Uchytil, Chris [1 ]
Storti, Duane [1 ]
机构
[1] Univ Washington, Seattle, WA 98195 USA
关键词
Mathematical model; Graphics processing units; Arrays; Computational modeling; Tensors; Kernel; Parallel processing;
D O I
10.1109/MCSE.2021.3082864
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We present two computing projects, peridynamics simulation and numerical integration on implicit domains, for which we realized high performance implementations using Python with appropriate packages. The problems are sufficiently compute intensive that a straightforward serial implementation is prohibitively slow. While conventional wisdom suggests moving such problems onto a computing cluster, we very directly produced high-performance parallel implementations that effectively perform the computing tasks on a single GPU. For the peridynamics application, the only package needed in addition to Numpy is Numba whose just-in-time compiler allows us to write kernel functions in Python and compile them to run in parallel on a CUDA-enabled GPU. Our approach to numerical integration on implicit domains invokes two additional packages to support interval arithmetic and dynamic parallelism to enable tree-structured recursive refinement. Use of Python (with only kernels requiring dynamic parallelism written in C) enabled rapid development of concise code that successfully achieves significant performance enhancement.
引用
收藏
页码:38 / 46
页数:9
相关论文
共 9 条
[1]  
[Anonymous], 1990, Solid Shape
[2]  
Bartlett J., 2021, J. Peridyn. Nonlocal Model, V3, P276
[3]  
Hughes Thomas J. R., 2012, FINITE ELEMENT METHO
[4]   Surface corrections for peridynamic models in elasticity and fracture [J].
Le, Q. V. ;
Bobaru, F. .
COMPUTATIONAL MECHANICS, 2018, 61 (04) :499-518
[5]  
Moore Ramon E., 1966, INTERVAL ANAL, V4
[6]  
Resnikoff H.L., 2012, Wavelet analysis: the scalable structure of information
[7]   Reformulation of elasticity theory for discontinuities and long-range forces [J].
Silling, SA .
JOURNAL OF THE MECHANICS AND PHYSICS OF SOLIDS, 2000, 48 (01) :175-209
[8]  
Stol J., MONOGRAPH 21 BRAZILI
[9]  
Storti Duane., 2015, CUDA ENG INTRO HIGH