Table of Contents

Enum RingKernelStreamPriority

Namespace
DotCompute.Abstractions.RingKernels
Assembly
DotCompute.Abstractions.dll

Stream priority levels for Ring Kernel execution scheduling.

public enum RingKernelStreamPriority

Fields

High = 2

High priority for latency-sensitive operations.

Use for actor request processing, real-time data streams, or operations where low latency is critical. Higher priority streams get preferential access to GPU SMs when resources are contended.

Low = 0

Low priority for background processing tasks.

Use for batch processing, analytics, or non-critical operations that can tolerate higher latency when higher-priority work is executing.

Normal = 1

Normal priority for typical workloads (default).

Balanced priority suitable for most general-purpose computations. Provides fair scheduling with other normal-priority streams.

Remarks

Stream priority affects how the GPU schedules work from different streams. Lower numerical priority values indicate higher execution priority.

Priority Behavior:

  • High: GPU scheduler gives preferential access to SM resources
  • Normal: Default scheduling behavior
  • Low: Deprioritized when competing with higher priority streams

Note: Stream priority is a scheduling hint and does not guarantee execution order. It affects resource allocation when multiple streams compete for GPU resources.