A more detailed specifier for the GPU's location.
The returned value indicates which slot or Thunderbolt port the GPU is attached to. For built-in GPUs, if the GPU is low power (
isLowPower), this value is
0, otherwise it is
It is possible for multiple GPUs to have the same
locationNumber, such as when a card has multiple GPUs, or multiple eGPUs are connected ot the same Thunderbolt port.
Querying GPU Properties
var isHeadless: Bool
A Boolean value that indicates whether a device is configured as headless.
var maxTransferRate: UInt64
The highest theoretical rate of transfer between system RAM and dedicated GPU memory (VRAM), measured in bytes per second.