Instance Property

registryID

The registry ID value for the device.

Required.

Declaration

@property(readonly) uint64_t registryID;

Discussion

This value is global to all tasks, and may be used to identify the GPU across task boundaries.

See Also

Querying GPU Properties

name

The name of the device.

Required.

headless

A Boolean value that indicates whether a device is configured as headless.

Required.

lowPower

A Boolean value that indicates whether a device is low-power.

Required.

removable

A Boolean value that determines whether or not a GPU is removable.

Required.

location

The physical location of the GPU relative to the host computer.

Required.

locationNumber

A more detailed specifier for the GPU's location.

Required.

maxTransferRate

The highest theoretical rate of transfer between system RAM and dedicated GPU memory (VRAM), measured in bytes per second.

Required.

hasUnifiedMemory

A Boolean that indicates whether the GPU shares all of its memory with the CPU.

Required.

MTLDeviceLocation

Options describing possible locations for the GPU.