Automated translation and accelerated solving of differential equations on multiple GPU platforms

Utkarsh Utkarsh, Valentin Churavy,Yingbo Ma, Tim Besard, Prakitr Srisuma, Tim Gymnich,Adam R. Gerlach, Alan Edelman,George Barbastathis, Richard D. Braatz,Christopher Rackauckas

COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING(2024)

引用 1|浏览21
暂无评分
摘要
We demonstrate a high-performance vendor-agnostic method for massively parallel solving of ensembles of ordinary differential equations (ODEs) and stochastic differential equations (SDEs) on GPUs. The method is integrated with a widely used differential equation solver library in a high-level language (Julia's DifferentialEquations.jl) and enables GPU acceleration without requiring code changes by the user. Our approach achieves state-of-the-art performance compared to hand-optimized CUDA-C++ kernels while performing 20-100x faster than the vectorizing map (vmap) approach implemented in JAX and PyTorch. Performance evaluation on NVIDIA, AMD, Intel, and Apple GPUs demonstrates performance portability and vendor agnosticism. We show composability with MPI to enable distributed multi-GPU workflows. The implemented solvers are fully featured - supporting event handling, automatic differentiation, and incorporation of datasets via the GPU's texture memory - allowing scientists to take advantage of GPU acceleration on all major current architectures without changing their model code and without loss of performance. We distribute the software as an open-source library, DiffEqGPU.jl.
更多
查看译文
关键词
Differential equations,Numerical simulation,GPU,Data-parallelism,Computer kernel,HPC
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要