Struct thread_group
A handle to a group of threads. The handle is only accessible to members of the group it represents.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
[IntrinsicType("cooperative_groups::thread_group")]
public struct thread_group
Methods
size()
Get the size (total number of threads) of a group
Declaration
public uint size()
Returns
Type | Description |
---|---|
System.UInt32 |
sync()
synchronize threads within the group
Declaration
public void sync()
thread_rank()
Thread index within the group
Declaration
public uint thread_rank()
Returns
Type | Description |
---|---|
System.UInt32 |