1. The Enzo Project
  2. Untitled project
  3. enzo-dev
  4. Pull requests

Pull requests

#147 Merged at ccea8e6
Repository
enzo-dev-cuda
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code

CUDA MHD solver update

Author
  1. Peng Wang
Reviewers
Description

Updated the CUDA MHD solver. Main updates include: 1. Changed CUDA MHD grid member files from .cu to .C. This makes the CUDA files more compatible when using non-gnu compilers. All the CUDA kernel are now centralized in CudaMHD.cu. 2. All the function interfaces in Grid_CudaMHD.C are rewritten to get rid of the long argument list. 3. CUDA documentation in usr_guide updated. 4. InitCUDA call in enzo.C updated with #ifdef guide and InitCUDA itself also updated.

Comments (2)

  1. Sam Skillman

    Hi Peng,

    This looks great as it consolidates all the kernels into a single file and definitely simplifies it. I just have a few inline questions that hopefully you can clairify.