Table of Contents

Enum RingKernelMode

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

Execution mode for ring kernels.

public enum RingKernelMode

Fields

EventDriven = 1

Event-driven kernel that is launched on-demand.

The kernel is launched when messages are available and terminates after processing the current batch. This mode conserves GPU resources but incurs kernel launch overhead for each batch.

Persistent = 0

Persistent kernel that stays active until explicitly terminated.

The kernel runs in an infinite loop, waiting for messages and processing them as they arrive. This mode minimizes kernel launch overhead but consumes GPU resources continuously.