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
MaxMemory
Maximum memory available across all devices in bytes.
public long MaxMemory { get; set; }
Property Value
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
SupportsAsyncExecution
Indicates if the backend supports asynchronous execution.
public bool SupportsAsyncExecution { get; set; }
Property Value
SupportsFloat16
Indicates if the backend supports float16 operations.
public bool SupportsFloat16 { get; set; }
Property Value
SupportsFloat32
Indicates if the backend supports float32 operations.
public bool SupportsFloat32 { get; set; }
Property Value
SupportsFloat64
Indicates if the backend supports float64 operations.
public bool SupportsFloat64 { get; set; }
Property Value
SupportsInt16
Indicates if the backend supports int16 operations.
public bool SupportsInt16 { get; set; }
Property Value
SupportsInt32
Indicates if the backend supports int32 operations.
public bool SupportsInt32 { get; set; }
Property Value
SupportsInt64
Indicates if the backend supports int64 operations.
public bool SupportsInt64 { get; set; }
Property Value
SupportsInt8
Indicates if the backend supports int8 operations.
public bool SupportsInt8 { get; set; }
Property Value
SupportsMultiDevice
Indicates if the backend supports multiple devices.
public bool SupportsMultiDevice { get; set; }
Property Value
SupportsUnifiedMemory
Indicates if the backend supports unified memory.
public bool SupportsUnifiedMemory { get; set; }