GpuDevice

constructor(vendor: GpuDevice.Vendor, model: String, bus: String, cardDev: List<Path>, renderDev: List<Path>, deviceId: Int?)

Parameters

vendor

Vendor of the GPU.

model

Model of the GPU.

bus

PCI slot which the device resides in.

cardDev

Path to the DRI primary node.

renderDev

Path to the DRI render node.

deviceId

The device ID for NVIDIA GPUs.