WarpX
QedWrapperCommons.H
Go to the documentation of this file.
1 /* Copyright 2019 Luca Fedeli
2  *
3  * This file is part of WarpX.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 #ifndef WARPX_amrex_qed_wrapper_commons_h_
8 #define WARPX_amrex_qed_wrapper_commons_h_
9 
10 /*
11  * This header contains some common #define directives
12  * used by the QED library wrappers and related
13  * components.
14  */
15 
16 #include <AMReX_AmrCore.H>
17 #include <AMReX_Extension.H>
18 #include <AMReX_GpuQualifiers.H>
19 
25 #define PXRMP_WITH_GPU
26 #define PXRMP_GPU_QUALIFIER AMREX_GPU_HOST_DEVICE
27 //_________________________
28 
35 #define PXRMP_RESTRICT AMREX_RESTRICT
36 #define PXRMP_FORCE_INLINE AMREX_FORCE_INLINE
37 //_________________________
38 
39 #endif //WARPX_amrex_qed_wrapper_commons_h_