Instance Property

maxThreadgroupMemoryLength

The maximum threadgroup memory available to a compute kernel, in bytes.

Required.

Declaration

var maxThreadgroupMemoryLength: Int { get }

See Also

Querying Memory Availability and Limits

var recommendedMaxWorkingSetSize: UInt64

An approximation of how much memory, in bytes, this device can use with good performance.

Required.

var currentAllocatedSize: Int

The current size, in bytes, of all resources allocated on this device for this process.

Required.