Block-Structured AMR Software Framework
AMReX_Gpu.H
Go to the documentation of this file.
1 #ifndef AMREX_GPU_H_
2 #define AMREX_GPU_H_
3 #include <AMReX_Config.H>
4 
5 #ifdef AMREX_USE_HIP
6 #include <hip/hip_runtime.h>
7 namespace amrex::Hip {}
8 #elif defined(AMREX_USE_CUDA)
9 namespace amrex::Cuda {}
10 #endif
11 
12 #include <AMReX_GpuQualifiers.H>
13 #include <AMReX_GpuKernelInfo.H>
14 #include <AMReX_GpuPrint.H>
15 #include <AMReX_GpuAssert.H>
16 #include <AMReX_GpuTypes.H>
17 #include <AMReX_GpuControl.H>
18 #include <AMReX_GpuLaunch.H>
19 #include <AMReX_GpuError.H>
20 
21 #include <AMReX_GpuAtomic.H>
22 #include <AMReX_GpuUtility.H>
23 #include <AMReX_GpuDevice.H>
24 #include <AMReX_GpuBuffer.H>
25 #include <AMReX_GpuAsyncArray.H>
26 #include <AMReX_GpuElixir.H>
27 #include <AMReX_GpuMemory.H>
28 #include <AMReX_GpuRange.H>
29 #include <AMReX_GpuReduce.H>
30 
31 #include <AMReX_GpuAllocators.H>
32 #include <AMReX_GpuContainers.H>
33 #include <AMReX_CudaGraph.H>
34 
35 namespace amrex::Gpu {
36 #ifdef AMREX_USE_HIP
37  using namespace Hip;
38 #elif defined(AMREX_USE_CUDA)
39  using namespace Cuda;
40 #endif
41 }
42 
43 #endif
Definition: AMReX_Gpu.H:9
Definition: AMReX_BaseFwd.H:52