arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.09931cs.DCphysics.comp-ph
收藏

cuSten -- CUDA有限差分和模板库

cuSten -- CUDA Finite Difference and Stencil Library

Andrew Gloster, Lennon O'Naraigh

摘要:

在本文中,我们提出了cuSten,一个新的函数库,以处理在CUDA中的2D和批处理1D有限差分/模板程序的实现。cuSten将数据处理、内核调用和流处理打包成四个易于使用的功能,加快了GPU平台上数字代码的开发速度。本文还给出了一个应用该库求解Cahn-Hilliard方程的例子,该求解器利用ADI方法和周期性边界条件,该求解器还用于对串行实现的cuSten库性能进行基准测试。

英文摘要:

In this paper we present cuSten, a new library of functions to handle the implementation of 2D and batched 1D finite-difference/stencil programs in CUDA. cuSten wraps data handling, kernel calls and streaming into four easy to use functions that speed up development of numerical codes on GPU platforms. The paper also presents an example of this library applied to solve the Cahn-Hilliard equation utilizing an ADI method with periodic boundary conditions, this solver is also used to benchmark the cuSten library performance against a serial implementation.

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

↑