Struct grid_group
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::grid_group")]
public struct grid_group
Methods
group_dim()
Declaration
public dim3 group_dim()
Returns
| Type | Description |
|---|---|
| dim3 |
is_valid()
Declaration
public bool is_valid()
Returns
| Type | Description |
|---|---|
| System.Boolean |
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 |
Operators
Implicit(grid_group to thread_group)
Declaration
[IntrinsicFunction("")]
public static implicit operator thread_group(grid_group tb)
Parameters
| Type | Name | Description |
|---|---|---|
| grid_group | tb |
Returns
| Type | Description |
|---|---|
| thread_group |