MFEM  v4.4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Classes | Namespaces | Typedefs | Functions | Variables
forall.hpp File Reference

Go to the source code of this file.

Classes

struct  mfem::RajaCuWrap< Dim >
 
struct  mfem::RajaCuWrap< 1 >
 
struct  mfem::RajaCuWrap< 2 >
 
struct  mfem::RajaCuWrap< 3 >
 
struct  mfem::RajaHipWrap< Dim >
 
struct  mfem::RajaHipWrap< 1 >
 
struct  mfem::RajaHipWrap< 2 >
 
struct  mfem::RajaHipWrap< 3 >
 
struct  mfem::CuWrap< Dim >
 
struct  mfem::CuWrap< 1 >
 
struct  mfem::CuWrap< 2 >
 
struct  mfem::CuWrap< 3 >
 
struct  mfem::HipWrap< Dim >
 
struct  mfem::HipWrap< 1 >
 
struct  mfem::HipWrap< 2 >
 
struct  mfem::HipWrap< 3 >
 

Namespaces

 mfem
 

Typedefs

using mfem::cuda_launch_policy = RAJA::expt::LaunchPolicy< RAJA::expt::null_launch_t, RAJA::expt::cuda_launch_t< true >>
 RAJA Cuda and Hip backends. More...
 
using mfem::cuda_teams_x = RAJA::expt::LoopPolicy< RAJA::loop_exec, RAJA::cuda_block_x_direct >
 
using mfem::cuda_threads_z = RAJA::expt::LoopPolicy< RAJA::loop_exec, RAJA::cuda_thread_z_direct >
 
using mfem::hip_launch_policy = RAJA::expt::LaunchPolicy< RAJA::expt::null_launch_t, RAJA::expt::hip_launch_t< true >>
 
using mfem::hip_teams_x = RAJA::expt::LoopPolicy< RAJA::loop_exec, RAJA::hip_block_x_direct >
 
using mfem::hip_threads_z = RAJA::expt::LoopPolicy< RAJA::loop_exec, RAJA::hip_thread_z_direct >
 

Functions

template<typename HBODY >
void mfem::OmpWrap (const int N, HBODY &&h_body)
 OpenMP backend. More...
 
template<const int BLOCKS = MFEM_CUDA_BLOCKS, typename DBODY >
void mfem::RajaCuWrap1D (const int N, DBODY &&d_body)
 
template<typename DBODY >
void mfem::RajaCuWrap2D (const int N, DBODY &&d_body, const int X, const int Y, const int BZ)
 
template<typename DBODY >
void mfem::RajaCuWrap3D (const int N, DBODY &&d_body, const int X, const int Y, const int Z, const int G)
 
template<const int BLOCKS = MFEM_HIP_BLOCKS, typename DBODY >
void mfem::RajaHipWrap1D (const int N, DBODY &&d_body)
 
template<typename DBODY >
void mfem::RajaHipWrap2D (const int N, DBODY &&d_body, const int X, const int Y, const int BZ)
 
template<typename DBODY >
void mfem::RajaHipWrap3D (const int N, DBODY &&d_body, const int X, const int Y, const int Z, const int G)
 
template<typename HBODY >
void mfem::RajaOmpWrap (const int N, HBODY &&h_body)
 RAJA OpenMP backend. More...
 
template<typename HBODY >
void mfem::RajaSeqWrap (const int N, HBODY &&h_body)
 RAJA sequential loop backend. More...
 
template<const int BLCK = MFEM_CUDA_BLOCKS, typename DBODY >
void mfem::CuWrap1D (const int N, DBODY &&d_body)
 
template<typename DBODY >
void mfem::CuWrap2D (const int N, DBODY &&d_body, const int X, const int Y, const int BZ)
 
template<typename DBODY >
void mfem::CuWrap3D (const int N, DBODY &&d_body, const int X, const int Y, const int Z, const int G)
 
template<const int BLCK = MFEM_HIP_BLOCKS, typename DBODY >
void mfem::HipWrap1D (const int N, DBODY &&d_body)
 
template<typename DBODY >
void mfem::HipWrap2D (const int N, DBODY &&d_body, const int X, const int Y, const int BZ)
 
template<typename DBODY >
void mfem::HipWrap3D (const int N, DBODY &&d_body, const int X, const int Y, const int Z, const int G)
 
template<const int DIM, typename DBODY , typename HBODY >
void mfem::ForallWrap (const bool use_dev, const int N, DBODY &&d_body, HBODY &&h_body, const int X=0, const int Y=0, const int Z=0, const int G=0)
 The forall kernel body wrapper. More...
 

Variables

const int mfem::MAX_D1D = 10
 
const int mfem::MAX_Q1D = 10