cuda-api-wrappers
Thin C++-flavored wrappers for the CUDA Runtime API
Public Member Functions | Public Attributes | List of all members
cuda::device::stream_priority_range_t Struct Reference

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

#include <device.hpp>

Public Member Functions

constexpr bool is_trivial () const
 Lower numeric value, higher priority. More...
 

Public Attributes

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

Detailed Description

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

Member Function Documentation

◆ is_trivial()

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

Lower numeric value, higher priority.

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: