Classes | Namespaces | Functions | Variables
cuda_stream_view.hpp File Reference
#include <rmm/detail/export.hpp>
#include <cuda/stream>
#include <cuda_runtime_api.h>
#include <concepts>
#include <cstddef>
#include <ostream>

Go to the source code of this file.

Classes

class  rmm::cuda_stream_view
 Strongly-typed non-owning wrapper for CUDA streams with default constructor. More...
 

Namespaces

 rmm
 The top-level namespace containing all RMM functionality.
 

Functions

bool rmm::operator== (cuda_stream_view lhs, cuda_stream_view rhs)
 Equality comparison operator for streams. More...
 
template<std::same_as< cuda::stream_ref > StreamRef>
bool rmm::operator== (cuda_stream_view lhs, StreamRef const &rhs)
 Equality comparison operator for streams. More...
 
template<std::same_as< cuda::stream_ref > StreamRef>
bool rmm::operator== (StreamRef const &lhs, cuda_stream_view rhs)
 Equality comparison operator for streams. More...
 
bool rmm::operator!= (cuda_stream_view lhs, cuda_stream_view rhs)
 Inequality comparison operator for streams. More...
 
template<std::same_as< cuda::stream_ref > StreamRef>
bool rmm::operator!= (cuda_stream_view lhs, StreamRef const &rhs)
 Inequality comparison operator for streams. More...
 
template<std::same_as< cuda::stream_ref > StreamRef>
bool rmm::operator!= (StreamRef const &lhs, cuda_stream_view rhs)
 Inequality comparison operator for streams. More...
 
std::ostream & rmm::operator<< (std::ostream &os, cuda_stream_view stream)
 Output stream operator for printing / logging streams. More...
 

Variables

static constexpr cuda::stream_ref rmm::cuda_stream_default {cudaStream_t{nullptr}}
 Static cuda::stream_ref of the default stream (stream 0), for convenience. More...
 
static const cuda::stream_ref rmm::cuda_stream_legacy {cudaStream_t{cudaStreamLegacy}}
 Static cuda::stream_ref of cudaStreamLegacy, for convenience. More...
 
static const cuda::stream_ref rmm::cuda_stream_per_thread {cudaStream_t{cudaStreamPerThread}}
 Static cuda::stream_ref of cudaStreamPerThread, for convenience. More...