Device Descriptor
data class DeviceDescriptor(val label: String? = null, val requiredFeatures: Set<FeatureName> = setOf(), val requiredLimits: Map<String, GPUSize64> = mapOf(), val defaultQueue: QueueDescriptor = QueueDescriptor())
Constructors
Link copied to clipboard
constructor(label: String? = null, requiredFeatures: Set<FeatureName> = setOf(), requiredLimits: Map<String, GPUSize64> = mapOf(), defaultQueue: QueueDescriptor = QueueDescriptor())
Properties
Link copied to clipboard
The descriptor for the default Queue.
Link copied to clipboard
Specifies the features that are required by the device request. The request will fail if the adapter cannot provide these features. Exactly the specified set of features, and no more or less, will be allowed in validation of API calls on the resulting device.
Link copied to clipboard
Specifies the limits that are required by the device request. The request will fail if the adapter cannot provide these limits. Each key must be the name of a member of supported limits. Exactly the specified limits, and no limit/better or worse, will be allowed in validation of API calls on the resulting device.