Edytuj

Udostępnij za pośrednictwem


MTLComputePipelineDescriptor.ThreadGroupSizeIsMultipleOfThreadExecutionWidth Property

Definition

Gets or sets a Boolean value that controls whether the thread group size is a whole number multiple of the thread execution length. Default is false.

public virtual bool ThreadGroupSizeIsMultipleOfThreadExecutionWidth { [Foundation.Export("threadGroupSizeIsMultipleOfThreadExecutionWidth")] get; [Foundation.Export("setThreadGroupSizeIsMultipleOfThreadExecutionWidth:")] set; }
member this.ThreadGroupSizeIsMultipleOfThreadExecutionWidth : bool with get, set

Property Value

Attributes

Remarks

Where possible, application developers should guarantee that the thread group size is a whole number multiple of the execution width, and then set this property to true.

Applies to