GPUAdapterInfo


class GPUAdapterInfo


Information about a GPU adapter.

Summary

Public constructors

GPUAdapterInfo(
    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

GPUAdapterInfo

Added in 1.0.0-alpha03
GPUAdapterInfo(
    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-alpha03
var adapterTypeInt

architecture

Added in 1.0.0-alpha03
var architectureString

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

backendType

Added in 1.0.0-alpha03
var backendTypeInt

description

Added in 1.0.0-alpha03
var descriptionString

A human-readable description of the adapter.

device

Added in 1.0.0-alpha03
var deviceString

The name of the specific device.

deviceID

Added in 1.0.0-alpha03
var deviceIDInt

subgroupMaxSize

Added in 1.0.0-alpha03
var subgroupMaxSizeInt

subgroupMinSize

Added in 1.0.0-alpha03
var subgroupMinSizeInt

vendor

Added in 1.0.0-alpha03
var vendorString

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

vendorID

Added in 1.0.0-alpha03
var vendorIDInt