Attention
The vector search and clustering algorithms in RAFT are being migrated to a new library dedicated to vector search called cuVS. We will continue to support the vector search algorithms in RAFT during this move, but will no longer update them after the RAPIDS 24.06 (June) release. We plan to complete the migration by RAPIDS 24.10 (October) release and they will be removed from RAFT altogether in the 24.12 (December) release.
Multi-dimensional Data#
This page provides C++ class references for the RAFT’s 1d span and multi-dimension owning (mdarray) and non-owning (mdspan) APIs. These headers can be found in the raft/core
directory.
- Multi-dimensional Representation
- mdspan: Multi-dimensional Non-owning View
- mdarray: Multi-dimensional Owning Container
- span: One-dimensional Non-owning View
element_type
value_type
size_type
difference_type
pointer
const_pointer
reference
const_reference
iterator
const_iterator
reverse_iterator
const_reverse_iterator
span()
span()
span()
span()
span()
span()
span()
begin()
end()
cbegin()
cend()
front()
back()
operator[]()
data()
size()
size_bytes()
empty()
first()
first()
last()
last()
subspan()
subspan()
operator==()
operator!=()
operator<()
operator<=()
operator>()
operator>=()
as_bytes()
as_writable_bytes()
span
device_span
host_span
- mdbuffer: Multi-dimensional Maybe-Owning Container
alternate_from_mem_type
default_container_policy_variant
is_mdbuffer_t
is_input_mdbuffer_t
is_output_mdbuffer_t
enable_if_mdbuffer
enable_if_input_mdbuffer
enable_if_output_mdbuffer
is_mdbuffer_v
is_input_mdbuffer_v
is_output_mdbuffer_v
variant_index_from_memory_type()
memory_type_from_variant_index()
__takes_an_mdbuffer_ptr()
default_buffer_container_policy
mdbuffer
is_mdbuffer
is_mdbuffer
is_input_mdbuffer
is_input_mdbuffer
is_output_mdbuffer
is_output_mdbuffer
- memory_type_dispatcher
- temporary_device_buffer: Temporary raft::device_mdspan Producing Object