Table of Contents

Class DiscoveredDevice

Namespace
DotCompute.Abstractions.Ports
Assembly
DotCompute.Abstractions.dll

Information about a discovered device.

public sealed record DiscoveredDevice : IEquatable<DiscoveredDevice>
Inheritance
DiscoveredDevice
Implements
Inherited Members

Properties

Backend

Backend type.

public required BackendType Backend { get; init; }

Property Value

BackendType

DeviceIndex

Device index (for multi-device systems).

public int DeviceIndex { get; init; }

Property Value

int

DriverVersion

Driver version.

public string? DriverVersion { get; init; }

Property Value

string

Id

Unique device identifier.

public required string Id { get; init; }

Property Value

string

IsAvailable

Whether the device is currently available.

public bool IsAvailable { get; init; }

Property Value

bool

Name

Human-readable device name.

public required string Name { get; init; }

Property Value

string

TotalMemory

Total memory in bytes.

public long TotalMemory { get; init; }

Property Value

long

Vendor

Device vendor.

public required string Vendor { get; init; }

Property Value

string