Skip to content

Function to_vec

function to_vec(const shape<Dims> &) base

template <index_t Dims, typename U = unsigned_type<sizeof(index_t) * 8>>
KFR_INTRINSIC vec<U, Dims> to_vec(const shape<Dims>& sh)

Converts a shape to a vector of unsigned integers.

Parameters
sh Shape to convert.
Template parameters
Dims Number of dimensions.
U Unsigned integer type used for the vector lanes.
Returns
Vector holding the dimension sizes of sh.

Fully qualified name: kfr::to_vec(const shape<Dims> &)

This file was generated by cxxdox, a C++ documentation generator based on MkDocs Material and libclang.