Table of Contents

Class DeviceCapabilities

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

Detailed device capabilities.

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

Properties

ComputeCapability

Compute capability version.

public Version? ComputeCapability { get; init; }

Property Value

Version

DeviceId

Device identifier.

public required string DeviceId { get; init; }

Property Value

string

L2CacheSize

L2 cache size in bytes.

public int L2CacheSize { get; init; }

Property Value

int

MaxGridDimensions

Maximum grid dimensions.

public Dim3 MaxGridDimensions { get; init; }

Property Value

Dim3

MaxRegistersPerBlock

Maximum registers per block.

public int MaxRegistersPerBlock { get; init; }

Property Value

int

MaxSharedMemoryPerBlock

Maximum shared memory per block.

public int MaxSharedMemoryPerBlock { get; init; }

Property Value

int

MaxThreadsPerBlock

Maximum threads per block.

public int MaxThreadsPerBlock { get; init; }

Property Value

int

MemoryBusWidth

Memory bus width in bits.

public int MemoryBusWidth { get; init; }

Property Value

int

MemoryClockRate

Memory clock rate in MHz.

public int MemoryClockRate { get; init; }

Property Value

int

MultiprocessorCount

Number of streaming multiprocessors/compute units.

public int MultiprocessorCount { get; init; }

Property Value

int

SupportedFeatures

Supported features.

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

Property Value

IReadOnlyList<string>

SupportsConcurrentKernels

Supports concurrent kernel execution.

public bool SupportsConcurrentKernels { get; init; }

Property Value

bool

SupportsP2PAccess

Supports peer-to-peer access.

public bool SupportsP2PAccess { get; init; }

Property Value

bool

SupportsUnifiedMemory

Supports unified memory.

public bool SupportsUnifiedMemory { get; init; }

Property Value

bool

WarpSize

Warp/wavefront size.

public int WarpSize { get; init; }

Property Value

int