Copy, Serialization, and Utility APIs
raft::copy
Source header: raft/core/copy.hpp
Asynchronously copies elements between compatible memory locations.
Parameters
Returns
void
raft::copy_matrix
Source header: raft/core/copy.hpp
Copies a dense matrix between compatible matrix views.
Parameters
Returns
void
raft::update_device
Source header: raft/core/copy.hpp
Convenience helper for copying host data to device memory.
Parameters
Returns
void
raft::update_host
Source header: raft/core/copy.hpp
Convenience helper for copying device data to host memory.
Parameters
Returns
void
raft::serialize_mdspan
Source header: raft/core/serialize.hpp
Serializes array contents from an mdspan-like view.
Parameters
Returns
void
raft::deserialize_mdspan
Source header: raft/core/serialize.hpp
Deserializes array contents into an mdspan-like view.
Parameters
Returns
void
raft::ceildiv
Source header: raft/util/integer_utils.hpp
Computes integer division rounded up.
Parameters
Returns
T
raft::round_up_safe
Source header: raft/util/integer_utils.hpp
Rounds an integer value up to a requested multiple.
Parameters
Returns
T