MTLComputePipelineDescriptor.ThreadGroupSizeIsMultipleOfThreadExecutionWidth 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定布林值,控制執行緒群組大小是否為執行緒執行長度的整數倍數。 預設為 false
。
public virtual bool ThreadGroupSizeIsMultipleOfThreadExecutionWidth { [Foundation.Export("threadGroupSizeIsMultipleOfThreadExecutionWidth")] get; [Foundation.Export("setThreadGroupSizeIsMultipleOfThreadExecutionWidth:")] set; }
member this.ThreadGroupSizeIsMultipleOfThreadExecutionWidth : bool with get, set
屬性值
- 屬性
備註
可能的話,應用程式開發人員應該保證執行緒群組大小是執行寬度的整數倍數,然後將此屬性設定為 true
。