GPUInfo

@Serializable
data class GPUInfo(val devices: List<GPUDevice>, val auxAttributes: JsonObject? = null, val featureStatus: JsonObject? = null, val driverBugWorkarounds: List<String>, val videoDecoding: List<VideoDecodeAcceleratorCapability>, val videoEncoding: List<VideoEncodeAcceleratorCapability>)

Provides information about the GPU(s) on the system.

Official doc

Constructors

Link copied to clipboard
constructor(devices: List<GPUDevice>, auxAttributes: JsonObject? = null, featureStatus: JsonObject? = null, driverBugWorkarounds: List<String>, videoDecoding: List<VideoDecodeAcceleratorCapability>, videoEncoding: List<VideoEncodeAcceleratorCapability>)

Properties

Link copied to clipboard
val auxAttributes: JsonObject?

An optional dictionary of additional GPU related attributes.

Link copied to clipboard

The graphics devices on the system. Element 0 is the primary GPU.

Link copied to clipboard

An optional array of GPU driver bug workarounds.

Link copied to clipboard
val featureStatus: JsonObject?

An optional dictionary of graphics features and their status.

Link copied to clipboard

Supported accelerated video decoding capabilities.

Link copied to clipboard

Supported accelerated video encoding capabilities.