DkmGPUComputeKernel.GetActiveThreadGroups(Int64[], Int32) 方法

定义

从计算内核获取活动线程组。

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

弄计算内核中的活动线程组数。

适用于