Table of Contents

Class BackendCapabilities

Namespace
DotCompute.Plugins.Interfaces
Assembly
DotCompute.Plugins.dll

Describes the capabilities of a compute backend.

public class BackendCapabilities
Inheritance
BackendCapabilities
Inherited Members

Properties

MaxDevices

Maximum number of devices supported.

public int MaxDevices { get; set; }

Property Value

int

MaxMemory

Maximum memory available across all devices in bytes.

public long MaxMemory { get; set; }

Property Value

long

Remarks

This property represents the total memory capacity that can be utilized by this backend across all available devices. For backends that support multiple devices, this might be the sum of all device memories or the largest single device memory, depending on the backend's memory model. A value of 0 indicates that the memory limit is unknown or unlimited.

SupportedFeatures

List of supported features specific to this backend.

public IReadOnlyList<string> SupportedFeatures { get; init; }

Property Value

IReadOnlyList<string>

SupportsAsyncExecution

Indicates if the backend supports asynchronous execution.

public bool SupportsAsyncExecution { get; set; }

Property Value

bool

SupportsFloat16

Indicates if the backend supports float16 operations.

public bool SupportsFloat16 { get; set; }

Property Value

bool

SupportsFloat32

Indicates if the backend supports float32 operations.

public bool SupportsFloat32 { get; set; }

Property Value

bool

SupportsFloat64

Indicates if the backend supports float64 operations.

public bool SupportsFloat64 { get; set; }

Property Value

bool

SupportsInt16

Indicates if the backend supports int16 operations.

public bool SupportsInt16 { get; set; }

Property Value

bool

SupportsInt32

Indicates if the backend supports int32 operations.

public bool SupportsInt32 { get; set; }

Property Value

bool

SupportsInt64

Indicates if the backend supports int64 operations.

public bool SupportsInt64 { get; set; }

Property Value

bool

SupportsInt8

Indicates if the backend supports int8 operations.

public bool SupportsInt8 { get; set; }

Property Value

bool

SupportsMultiDevice

Indicates if the backend supports multiple devices.

public bool SupportsMultiDevice { get; set; }

Property Value

bool

SupportsUnifiedMemory

Indicates if the backend supports unified memory.

public bool SupportsUnifiedMemory { get; set; }

Property Value

bool