GPU

In this chapter, we will present the GPU support in AMReX. AMReX targets NVIDIA, AMD and Intel GPUs using their native vendor language and therefore requires CUDA, HIP/ROCm and SYCL, for NVIDIA, AMD and Intel GPUs, respectively. Users can also use OpenMP and/or OpenACC in their applications.

AMReX supports NVIDIA GPUs with compute capability >= 6 and CUDA >= 11, and AMD GPUs with ROCm >= 5. While SYCL compilers are in development in preparation for Aurora, AMReX only officially supports the latest publicly released version of the oneAPI compiler.

For complete details of CUDA, HIP, SYCL, OpenMP and OpenACC languages, see their respective documentations.

Be aware, this documentation is currently focused on CUDA and HIP. SYCL documentation is forthcoming.

A number of tutorials can be found at Tutorials/GPU.