Block-Structured AMR Software Framework
AMReX_GpuUtility.H File Reference
#include <AMReX_Config.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_GpuTypes.H>
#include <AMReX_GpuControl.H>
#include <AMReX_GpuDevice.H>
#include <AMReX_Extension.H>
#include <AMReX_REAL.H>
#include <AMReX_INT.H>
#include <AMReX_Array.H>
#include <AMReX_Array4.H>
#include <iosfwd>
#include <cmath>
#include <cstring>
#include <cuda.h>
#include <curand_kernel.h>

Go to the source code of this file.

Classes

struct  amrex::Gpu::StreamItInfo
 
class  amrex::Gpu::StreamIter
 

Namespaces

 amrex
 
 amrex::Gpu
 

Functions

template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINEamrex::Gpu::LDG (Array4< T > const &a, int i, int j, int k) noexcept
 
template<typename T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINEamrex::Gpu::LDG (Array4< T > const &a, int i, int j, int k, int n) noexcept
 
bool amrex::Gpu::isManaged (void const *p) noexcept
 
bool amrex::Gpu::isDevicePtr (void const *p) noexcept
 
bool amrex::Gpu::isPinnedPtr (void const *p) noexcept
 
bool amrex::Gpu::isGpuPtr (void const *p) noexcept
 
template<class T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool amrex::Gpu::isnan (T m) noexcept
 
template<class T >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE bool amrex::Gpu::isinf (T m) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void * amrex::Gpu::memcpy (void *dest, const void *src, std::size_t count)
 
std::ostream & amrex::operator<< (std::ostream &os, const dim3 &d)