cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
cuda::context::stream_priority_range_t Struct Reference

A range of priorities supported by a CUDA context; ranges from the higher numeric value to the lower. More...

#include <context.hpp>

Public Member Functions

constexpr bool is_trivial () const
 When true, stream prioritization is not supported, i.e. More...
 

Public Attributes

stream::priority_t least
 Higher numeric value, lower priority.
 
stream::priority_t greatest
 Lower numeric value, higher priority.
 

Detailed Description

A range of priorities supported by a CUDA context; ranges from the higher numeric value to the lower.

Member Function Documentation

◆ is_trivial()

constexpr bool cuda::context::stream_priority_range_t::is_trivial ( ) const
inline

When true, stream prioritization is not supported, i.e.

all streams have "the same" priority - the default one.


The documentation for this struct was generated from the following file: