Block-Structured AMR Software Framework
amrex::Gpu::range_detail Namespace Reference

Classes

struct  range_impl
 

Functions

template<typename T , std::enable_if_t< std::is_integral_v< T >, int > = 0>
AMREX_GPU_HOST_DEVICE Long 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 at (T const &, Long offset) noexcept
 
template<int dim>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Long size (BoxND< dim > const &b) noexcept
 BoxND version. More...
 
template<int dim>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE BoxND< dim > at (BoxND< dim > const &b, Long offset) noexcept
 

Function Documentation

◆ at() [1/2]

template<int dim>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE BoxND<dim> amrex::Gpu::range_detail::at ( BoxND< dim > const &  b,
Long  offset 
)
noexcept

◆ at() [2/2]

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

◆ size() [1/2]

template<int dim>
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE Long amrex::Gpu::range_detail::size ( BoxND< dim > const &  b)
noexcept

BoxND version.

◆ size() [2/2]

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