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
DeviceIndex
Device index (for multi-device systems).
public int DeviceIndex { get; init; }
Property Value
DriverVersion
Driver version.
public string? DriverVersion { get; init; }
Property Value
Id
Unique device identifier.
public required string Id { get; init; }
Property Value
IsAvailable
Whether the device is currently available.
public bool IsAvailable { get; init; }
Property Value
Name
Human-readable device name.
public required string Name { get; init; }
Property Value
TotalMemory
Total memory in bytes.
public long TotalMemory { get; init; }
Property Value
Vendor
Device vendor.
public required string Vendor { get; init; }