#include <AMReX_Config.H>
Go to the source code of this file.
◆ AMREX_DEVICE_COMPILE
| #define AMREX_DEVICE_COMPILE (__CUDA_ARCH__ || __HIP_DEVICE_COMPILE__ || __SYCL_DEVICE_ONLY__) |
◆ AMREX_DEVICE_GLOBAL_VARIABLE
| #define AMREX_DEVICE_GLOBAL_VARIABLE |
( |
| ... | ) |
|
Value:
#define AMREX_WRONG_NUM_ARGS(...)
Definition AMReX_GpuQualifiers.H:67
#define AMREX_GET_DGV_MACRO(_1, _2, _3, NAME,...)
Definition AMReX_GpuQualifiers.H:69
#define AMREX_DGV(type, name)
Definition AMReX_GpuQualifiers.H:78
#define AMREX_DGVARR(type, num, name)
Definition AMReX_GpuQualifiers.H:79
◆ AMREX_DGV
| #define AMREX_DGV |
( |
| type, |
|
|
| name ) |
◆ AMREX_DGVARR
| #define AMREX_DGVARR |
( |
| type, |
|
|
| num, |
|
|
| name ) |
Value:__device__ type name[num]
◆ AMREX_GET_DGV_MACRO
| #define AMREX_GET_DGV_MACRO |
( |
| _1, |
|
|
| _2, |
|
|
| _3, |
|
|
| NAME, |
|
|
| ... ) |
◆ AMREX_GPU_CONSTANT
| #define AMREX_GPU_CONSTANT __constant__ |
◆ AMREX_GPU_DEVICE
| #define AMREX_GPU_DEVICE __device__ |
◆ AMREX_GPU_DEVICE_MANAGED
| #define AMREX_GPU_DEVICE_MANAGED __device__ __managed__ |
◆ AMREX_GPU_GLOBAL
| #define AMREX_GPU_GLOBAL __global__ |
◆ AMREX_GPU_HOST
| #define AMREX_GPU_HOST __host__ |
◆ AMREX_GPU_HOST_DEVICE
| #define AMREX_GPU_HOST_DEVICE __host__ __device__ |
◆ AMREX_GPU_MANAGED
| #define AMREX_GPU_MANAGED __managed__ |
◆ AMREX_IF_ON_DEVICE
| #define AMREX_IF_ON_DEVICE |
( |
| CODE | ) |
|
◆ AMREX_IF_ON_HOST
| #define AMREX_IF_ON_HOST |
( |
| CODE | ) |
|
Value:
#define AMREX_IMPL_STRIP_PARENS(X)
Definition AMReX_GpuQualifiers.H:41
◆ AMREX_IMPL_ESC
| #define AMREX_IMPL_ESC |
( |
| ... | ) |
|
Value:
#define AMREX_IMPL_ESC_(...)
Definition AMReX_GpuQualifiers.H:44
◆ AMREX_IMPL_ESC_
| #define AMREX_IMPL_ESC_ |
( |
| ... | ) |
|
Value:AMREX_IMPL_VAN_##__VA_ARGS__
◆ AMREX_IMPL_ISH
| #define AMREX_IMPL_ISH |
( |
| ... | ) |
|
Value:
#define AMREX_IMPL_ISH(...)
Definition AMReX_GpuQualifiers.H:42
◆ AMREX_IMPL_STRIP_PARENS
| #define AMREX_IMPL_STRIP_PARENS |
( |
| X | ) |
|
Value:
#define AMREX_IMPL_ESC(...)
Definition AMReX_GpuQualifiers.H:43
◆ AMREX_IMPL_VAN_AMREX_IMPL_ISH
| #define AMREX_IMPL_VAN_AMREX_IMPL_ISH |
◆ AMREX_WRONG_NUM_ARGS
| #define AMREX_WRONG_NUM_ARGS |
( |
| ... | ) |
|
Value:static_assert(false,"Wrong number of arguments to macro")