Core Types#
2026-03-13
2 min read time
Enumeration Types#
#include <raft/core/types.hpp>
namespace raft
Stream View#
#include <raft/core/stream_view.hpp>
namespace raft
-
static auto const stream_view_per_thread = stream_view{}#
-
struct stream_view#
- #include <stream_view.hpp>
A lightweight wrapper around rmm::cuda_stream_view that can be used in CUDA-free builds
While CUDA-free builds should never actually make use of a CUDA stream at runtime, it is sometimes useful to have a symbol that can stand in place of a CUDA stream to avoid excessive ifdef directives interspersed with other logic. This struct’s methods invoke the underlying rmm::cuda_stream_view in CUDA-enabled builds but throw runtime exceptions if any non-trivial method is called from a CUDA-free build