class id
Declaration
template <int Dims = 1>
class id { /* full declaration omitted */ };
Template Parameters
- int Dims = 1
Member Aliases
- using coordinate =
detail::coordinate<id<Dims>, Dims>;
Member Function Overview
- id() noexcept
- id(const range<Dims> & range) → constexpr
- id(detail::zeros_t) → constexpr
- id(detail::ones_t) → constexpr
- template <typename... Values, typename = std::enable_if_t<sizeof...(Values) + 1 == Dims>>
id(size_t dim_0, const Values... dim_n) → constexpr - template <int D = Dims, typename = std::enable_if_t<D >= 1 && D <= 3>>
id(const sycl::id<Dims> & sycl_id) - template <int D = Dims, typename = std::enable_if_t<D >= 1 && D <= 3>>
operator id<Dimensions>() const - template <typename InterfaceIn, int DimsIn>
id(detail::make_from_t, const detail::coordinate<InterfaceIn, DimsIn> & in) → constexpr
Member Functions
¶constexpr id(const range<Dims>& range)
Parameters
- const range<Dims>& range
¶template <typename... Values,
typename = std::enable_if_t<
sizeof...(Values) + 1 == Dims>>
constexpr id(size_t dim_0, const Values... dim_n)
Template Parameters
- Values
- = std::enable_if_t<sizeof...(Values) + 1 == Dims>
Parameters
- size_t dim_0
- const Values... dim_n
¶template <
int D = Dims,
typename = std::enable_if_t<D >= 1 && D <= 3>>
id(const sycl::id<Dims>& sycl_id)
Template Parameters
- int D = Dims
- = std::enable_if_t<D >= 1 && D <= 3>
Parameters
- const sycl::id<Dims>& sycl_id
¶template <
int D = Dims,
typename = std::enable_if_t<D >= 1 && D <= 3>>
operator id<Dimensions>() const
Template Parameters
- int D = Dims
- = std::enable_if_t<D >= 1 && D <= 3>
¶template <typename InterfaceIn, int DimsIn>
constexpr id(detail::make_from_t,
const detail::coordinate<InterfaceIn,
DimsIn>& in)
Template Parameters
- InterfaceIn
- int DimsIn