Layouts and Extents
RAFT layout and extent types make array shape and memory layout explicit in NVIDIA cuVS public signatures.
raft::row_major
Source header: raft/core/mdspan_types.hpp
Matrix layout tag for row-major storage.
raft::col_major
Source header: raft/core/mdspan_types.hpp
Matrix layout tag for column-major storage.
raft::layout_c_contiguous
Source header: raft/core/mdspan_types.hpp
Layout tag for C-contiguous memory.
raft::layout_f_contiguous
Source header: raft/core/mdspan_types.hpp
Layout tag for Fortran-contiguous memory.
raft::layout_stride
Source header: raft/core/mdspan_types.hpp
Layout tag for strided memory.
raft::scalar_extent
Source header: raft/core/mdspan_types.hpp
Convenience extent alias for zero-dimensional scalar values.
raft::matrix_extent
Source header: raft/core/mdspan_types.hpp
Convenience extent alias for two-dimensional matrices.
raft::vector_extent
Source header: raft/core/mdspan_types.hpp
Convenience extent alias for one-dimensional vectors.
raft::extents
Source header: raft/core/mdspan_types.hpp
Generic extent descriptor for static and dynamic dimensions.
raft::dynamic_extent
Source header: raft/core/mdspan_types.hpp
Sentinel used for dimensions whose size is known at runtime.