GPUAdapterInfo¶
interface GPUAdapterInfo
Properties¶
architecture¶
abstract val architecture: String
The name of the family or class of GPUs the adapter belongs to, if available. Empty string otherwise.
description¶
abstract val description: String
A human readable string describing the adapter as reported by the driver, if available. Empty string otherwise. Note: Because no formatting is applied to description attempting to parse this value is not recommended. Applications which change their behavior based on the GPUAdapterInfo, such as applying workarounds for known driver issues, should rely on the other fields when possible.
device¶
A vendor-specific identifier for the adapter, if available. Empty string otherwise. Note: This is a value that represents the type of adapter. For example, it may be a PCI device ID. It does not uniquely identify a given piece of hardware like a serial number.
isFallbackAdapter¶
abstract val isFallbackAdapter: Boolean
Whether the adapter is a fallback adapter.
See [GPUAdapterInfo.isFallbackAdapter in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuadapterinfo-isfallbackadapter).
subgroupMaxSize¶
abstract val subgroupMaxSize: UInt
If the "subgroups" feature is supported, the maximum supported subgroup size for the adapter.
subgroupMinSize¶
abstract val subgroupMinSize: UInt
If the "subgroups" feature is supported, the minimum supported subgroup size for the adapter.