DkmGPUComputeKernel.GetActiveThreadGroups(Int64[], Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从计算内核获取活动线程组。
public:
void GetActiveThreadGroups([Runtime::InteropServices::Out] cli::array <long> ^ % ActiveThreadGroups, [Runtime::InteropServices::Out] int % NumberOfGroups);
public void GetActiveThreadGroups (out long[] ActiveThreadGroups, out int NumberOfGroups);
member this.GetActiveThreadGroups : Int64[] * int -> unit
Public Sub GetActiveThreadGroups (ByRef ActiveThreadGroups As Long(), ByRef NumberOfGroups As Integer)
参数
- ActiveThreadGroups
- Int64[]
弄所有活动线程组的全局线程组 id 列表。
- NumberOfGroups
- Int32
弄计算内核中的活动线程组数。