Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Public Attributes | List of all members
uni20::cuda::RuntimeConfig Struct Reference

Configuration for one scoped process-wide CUDA runtime installation. More...

#include <runtime.hpp>

Public Attributes

std::optional< int > default_device {}
 Device used by lookup without an explicit ordinal; defaults to the first enrolled device.
 
std::vector< int > device_ordinals {}
 CUDA device ordinals to enroll; an empty list enrolls every visible device.
 
unsigned int stream_flags = cudaStreamNonBlocking
 CUDA stream creation flags used by every enrolled device.
 
std::size_t streams_per_device = 8
 Number of actually-idle streams owned by each enrolled device.
 

Detailed Description

Configuration for one scoped process-wide CUDA runtime installation.

Member Data Documentation

◆ default_device

std::optional<int> uni20::cuda::RuntimeConfig::default_device {}

Device used by lookup without an explicit ordinal; defaults to the first enrolled device.

◆ device_ordinals

std::vector<int> uni20::cuda::RuntimeConfig::device_ordinals {}

CUDA device ordinals to enroll; an empty list enrolls every visible device.

◆ stream_flags

unsigned int uni20::cuda::RuntimeConfig::stream_flags = cudaStreamNonBlocking

CUDA stream creation flags used by every enrolled device.

◆ streams_per_device

std::size_t uni20::cuda::RuntimeConfig::streams_per_device = 8

Number of actually-idle streams owned by each enrolled device.


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