Hipace
Classes | Functions | Variables
GPUUtil.H File Reference
#include <AMReX_Array4.H>
#include <AMReX_MFIter.H>

Go to the source code of this file.

Classes

struct  Array2< T >
 
struct  Array3< T >
 

Functions

template<class T >
Array2< T > to_array2 (amrex::Array4< T > &&in)
 
template<class T >
Array2< T > to_array2 (const amrex::Array4< T > &in)
 
template<class T >
to_array2 (T &&in)
 
template<class T >
Array3< T > to_array3 (amrex::Array4< T > &&in)
 
template<class T >
Array3< T > to_array3 (const amrex::Array4< T > &in)
 
template<class T >
to_array3 (T &&in)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real abssq (amrex::Real r, amrex::Real i)
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void AtomicAdd (amrex::Real *ptr, amrex::Real val, [[maybe_unused]] bool do_omp_atomic=true)
 

Variables

amrex::MFItInfo DfltMfi
 
amrex::MFItInfo DfltMfiTlng
 

Function Documentation

◆ abssq()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real abssq ( amrex::Real  r,
amrex::Real  i 
)

◆ AtomicAdd()

AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void AtomicAdd ( amrex::Real *  ptr,
amrex::Real  val,
[[maybe_unused] ] bool  do_omp_atomic = true 
)

◆ to_array2() [1/3]

template<class T >
Array2<T> to_array2 ( amrex::Array4< T > &&  in)
inline

◆ to_array2() [2/3]

template<class T >
Array2<T> to_array2 ( const amrex::Array4< T > &  in)
inline

◆ to_array2() [3/3]

template<class T >
T to_array2 ( T &&  in)
inline

◆ to_array3() [1/3]

template<class T >
Array3<T> to_array3 ( amrex::Array4< T > &&  in)
inline

◆ to_array3() [2/3]

template<class T >
Array3<T> to_array3 ( const amrex::Array4< T > &  in)
inline

◆ to_array3() [3/3]

template<class T >
T to_array3 ( T &&  in)
inline

Variable Documentation

◆ DfltMfi

amrex::MFItInfo DfltMfi
inline

◆ DfltMfiTlng

amrex::MFItInfo DfltMfiTlng
inline