AdapterInfo


class AdapterInfo


Information about a GPU adapter.

Summary

Public constructors

AdapterInfo(
    vendor: String,
    architecture: String,
    device: String,
    description: String,
    adapterType: Int,
    vendorID: Int,
    deviceID: Int,
    subgroupMinSize: Int,
    subgroupMaxSize: Int,
    backendType: Int
)

Public properties

Int
String

The architecture of the adapter (e.g., 'Volta').

Int
String

A human-readable description of the adapter.

String

The name of the specific device.

Int
Int
Int
String

The name of the vendor (e.g., 'NVIDIA', 'AMD').

Int

Public constructors

AdapterInfo

Added in 1.0.0-alpha01
AdapterInfo(
    vendor: String,
    architecture: String,
    device: String,
    description: String,
    adapterType: Int,
    vendorID: Int,
    deviceID: Int,
    subgroupMinSize: Int,
    subgroupMaxSize: Int,
    backendType: Int = BackendType.Undefined
)

Public properties

adapterType

Added in 1.0.0-alpha01
var adapterTypeInt

architecture

Added in 1.0.0-alpha01
var architectureString

The architecture of the adapter (e.g., 'Volta').

backendType

Added in 1.0.0-alpha01
var backendTypeInt

description

Added in 1.0.0-alpha01
var descriptionString

A human-readable description of the adapter.

device

Added in 1.0.0-alpha01
var deviceString

The name of the specific device.

deviceID

Added in 1.0.0-alpha01
var deviceIDInt

subgroupMaxSize

Added in 1.0.0-alpha01
var subgroupMaxSizeInt

subgroupMinSize

Added in 1.0.0-alpha01
var subgroupMinSizeInt

vendor

Added in 1.0.0-alpha01
var vendorString

The name of the vendor (e.g., 'NVIDIA', 'AMD').

vendorID

Added in 1.0.0-alpha01
var vendorIDInt