Struct CudaStreamPriorityRange
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
leastPriorityintThe least-urgent priority value. 最低优先级值。
greatestPriorityintThe most-urgent priority value. 最高优先级值。
Properties
GreatestPriority
Priority value for the highest-priority stream. 最高优先级 stream 的优先级值。
public int GreatestPriority { get; }
Property Value
LeastPriority
Priority value for the lowest-priority stream. 最低优先级 stream 的优先级值。
public int LeastPriority { get; }
Property Value
Methods
ToString()
Formats the priority range for diagnostics. 将优先级范围格式化为便于诊断的字符串。
public override string ToString()