Skip to main content

template <int Dims>
int get_effective_dims(const id<Dims>& id)

Description

Returns the smallest dimensionality that the id can be id_cast to.

Template Parameters

int Dims

Parameters

const id<Dims>& id

template <int Dims>
int get_effective_dims(const subrange<Dims>& sr)

Description

Returns the smallest dimensionality that the subrange can be subrange_cast to.

Template Parameters

int Dims

Parameters

const subrange<Dims>& sr

template <int Dims>
int get_effective_dims(const range<Dims>& range)

Description

Returns the smallest dimensionality that the range can be range_cast to.

Template Parameters

int Dims

Parameters

const range<Dims>& range

template <int Dims>
int get_effective_dims(const chunk<Dims>& ck)

Description

Returns the smallest dimensionality that the chunk can be chunk_cast to.

Template Parameters

int Dims

Parameters

const chunk<Dims>& ck