Comparative study of CUDA-based parallel programming in C and Python for GPU acceleration of the 4th order Runge-Kutta method

•Point reactor kinetics equations.•4th Order Runge-Kutta method.•Acceleration by GPU.•Python and C codes.•Speedup calculations. In this paper, a comparative study is presented on the application of General-purpose Computing on Graphics Processing Units for solving the point reactor kinetics equation...

Full description

Saved in:
Bibliographic Details
Published in:Nuclear engineering and design Vol. 421; p. 113050
Main Authors: Fernandes, Davi F., Santos, Marcelo C., Silva, Adilson C., Lima, Alan M.M.
Format: Journal Article
Language:English
Published: Elsevier B.V 01.05.2024
Subjects:
ISSN:0029-5493, 1872-759X
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:•Point reactor kinetics equations.•4th Order Runge-Kutta method.•Acceleration by GPU.•Python and C codes.•Speedup calculations. In this paper, a comparative study is presented on the application of General-purpose Computing on Graphics Processing Units for solving the point reactor kinetics equations through the utilization of the 4th Order Runge-Kutta (RK4) method using the programming languages C and Python. Sequential and parallel algorithms of the RK4 method were developed in C/C++ and Python, with parallel algorithms specifically designed to operate on Graphics Processing Units (GPUs) utilizing the NVIDIA Compute Unified Device Architecture (CUDA) as the programming platform. As an experiment, the execution time for the sequential and parallel algorithms were compared for a reactivity value of ρ = 0.003 and a simulation time of t = 100 s. The parallel C and Python algorithms achieved, respectively, speedups of 9.33 and 409.7 when comparing the execution time on the best GPU utilized (RTX 3070Ti) with the best CPU (3600XT), while still maintaining numerical precision.
ISSN:0029-5493
1872-759X
DOI:10.1016/j.nucengdes.2024.113050