struct chunk
Declaration
template <int Dims = 1>
struct chunk { /* full declaration omitted */ };
Template Parameters
- int Dims = 1
Member Variables
- id<Dims> offset
- celerity::range<Dims> range = detail::zeros
- celerity::range<Dims> global_size = detail::zeros
- static const int dimensions = Dims
Member Function Overview
- chunk()
- chunk(const id<Dims> & offset, const celerity::range<Dims> & range, const celerity::range<Dims> & global_size) → constexpr
Friend Function Overview
- operator!=(const chunk<Dims> & lhs, const chunk<Dims> & rhs) → friend bool
- operator==(const chunk<Dims> & lhs, const chunk<Dims> & rhs) → friend bool
Member Functions
¶constexpr chunk(
const id<Dims>& offset,
const celerity::range<Dims>& range,
const celerity::range<Dims>& global_size)
Parameters
- const id<Dims>& offset
- const celerity::range<Dims>& range
- const celerity::range<Dims>& global_size
Friend Functions
¶friend bool operator!=(const chunk<Dims>& lhs,
const chunk<Dims>& rhs)
Parameters
- const chunk<Dims>& lhs
- const chunk<Dims>& rhs
¶friend bool operator==(const chunk<Dims>& lhs,
const chunk<Dims>& rhs)
Parameters
- const chunk<Dims>& lhs
- const chunk<Dims>& rhs