Block-Structured AMR Software Framework
AMReX_GpuRange.H File Reference
#include <AMReX_Config.H>
#include <AMReX_GpuQualifiers.H>
#include <AMReX_GpuControl.H>
#include <AMReX_GpuError.H>
#include <AMReX_Box.H>
#include <AMReX_TypeTraits.H>

Go to the source code of this file.

Classes

struct  amrex::Gpu::range_detail::range_impl< T >
 
struct  amrex::Gpu::range_detail::range_impl< T >::iterator
 

Namespaces

 amrex
 
 amrex::Gpu
 
 amrex::Gpu::range_detail
 

Functions

template<typename T , std::enable_if_t< std::is_integral_v< T >, int > = 0>
bool amrex::isEmpty (T n) noexcept
 
template<int dim>
AMREX_FORCE_INLINE bool amrex::isEmpty (BoxND< dim > const &b) noexcept
 
template<typename T , std::enable_if_t< std::is_integral_v< T >, int > = 0>
AMREX_GPU_HOST_DEVICE Long amrex::Gpu::range_detail::size (T const &b) noexcept
 integer version More...
 
template<typename T , std::enable_if_t< std::is_integral_v< T >, int > = 0>
AMREX_GPU_HOST_DEVICE Long amrex::Gpu::range_detail::at (T const &, Long offset) noexcept
 
template<int dim>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Long amrex::Gpu::range_detail::size (BoxND< dim > const &b) noexcept
 BoxND version. More...
 
template<int dim>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE BoxND< dim > amrex::Gpu::range_detail::at (BoxND< dim > const &b, Long offset) noexcept
 
template<typename T >
AMREX_GPU_HOST_DEVICE range_detail::range_impl< T > amrex::Gpu::Range (T const &b) noexcept