Table of Contents

Class CudaBackendOptions

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

Configuration options for the CUDA backend.

public sealed class CudaBackendOptions
Inheritance
CudaBackendOptions
Inherited Members

Properties

DefaultStreamPriority

Gets or sets the default stream priority.

public int DefaultStreamPriority { get; set; }

Property Value

int

DeviceSelectionStrategy

Gets or sets the device selection strategy.

public CudaDeviceSelectionStrategy DeviceSelectionStrategy { get; set; }

Property Value

CudaDeviceSelectionStrategy

EnableCudaGraphs

Gets or sets whether to enable CUDA graphs for performance optimization.

public bool EnableCudaGraphs { get; set; }

Property Value

bool

EnableErrorChecking

Gets or sets whether to enable comprehensive error checking.

public bool EnableErrorChecking { get; set; }

Property Value

bool

EnableMemoryPooling

Gets or sets whether to enable memory pooling.

public bool EnableMemoryPooling { get; set; }

Property Value

bool

EnableMultiDevice

Gets or sets whether to enable multi-device support.

public bool EnableMultiDevice { get; set; }

Property Value

bool

EnableStreamCapture

Gets or sets whether to enable stream capture.

public bool EnableStreamCapture { get; set; }

Property Value

bool

EnableSynchronousExecution

Gets or sets whether to enable synchronous execution for debugging.

public bool EnableSynchronousExecution { get; set; }

Property Value

bool

EnableUnifiedMemory

Gets or sets whether to enable unified memory.

public bool EnableUnifiedMemory { get; set; }

Property Value

bool

LogKernelLaunches

Gets or sets whether to log kernel launches for debugging.

public bool LogKernelLaunches { get; set; }

Property Value

bool

PreferredDeviceId

Gets or sets the preferred device ID for single-device scenarios.

public int PreferredDeviceId { get; set; }

Property Value

int