Table of Contents

Interface IGpuRingBufferBridge

Namespace
DotCompute.Backends.CUDA.RingKernels
Assembly
DotCompute.Backends.CUDA.dll

Non-generic interface for GPU ring buffer bridges, enabling polymorphic access when the message type is only known at runtime.

public interface IGpuRingBufferBridge : IDisposable
Inherited Members
Extension Methods

Properties

GpuRingBuffer

Gets the associated GPU ring buffer.

IGpuRingBuffer GpuRingBuffer { get; }

Property Value

IGpuRingBuffer

GpuToHostTransferCount

Gets the number of messages transferred from GPU to host.

long GpuToHostTransferCount { get; }

Property Value

long

HostToGpuTransferCount

Gets the number of messages transferred from host to GPU.

long HostToGpuTransferCount { get; }

Property Value

long

IsDmaTransferEnabled

Gets whether explicit DMA transfer is enabled.

bool IsDmaTransferEnabled { get; }

Property Value

bool

Methods

Start()

Starts the bridge's background DMA transfer tasks (if enabled).

void Start()

StopTransfers()

Stops the bridge's background DMA transfer tasks.

void StopTransfers()