Table of Contents

Struct CudaStreamPriorityRange

Namespace
JYPPX.CudaSharp
Assembly
JYPPX.CudaSharp.dll

CUDA stream priority range for the current device. 当前设备的 CUDA stream 优先级范围。

public readonly struct CudaStreamPriorityRange
Inherited Members

Constructors

CudaStreamPriorityRange(int, int)

Initializes a CUDA stream-priority range. 初始化 CUDA stream 优先级范围。

public CudaStreamPriorityRange(int leastPriority, int greatestPriority)

Parameters

leastPriority int

The least-urgent priority value. 最低优先级值。

greatestPriority int

The most-urgent priority value. 最高优先级值。

Properties

GreatestPriority

Priority value for the highest-priority stream. 最高优先级 stream 的优先级值。

public int GreatestPriority { get; }

Property Value

int

LeastPriority

Priority value for the lowest-priority stream. 最低优先级 stream 的优先级值。

public int LeastPriority { get; }

Property Value

int

Methods

ToString()

Formats the priority range for diagnostics. 将优先级范围格式化为便于诊断的字符串。

public override string ToString()

Returns

string