Struct CudaKernel.Occupancy
Small struct to simplify occupancy calculations
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
public struct Occupancy
Fields
| Improve this Doc View SourceblockSize
maximum block size that can achieve the maximum occupancy
Declaration
public int blockSize
Field Value
Type | Description |
---|---|
System.Int32 |
minGridSize
minimum grid size needed to achieve the maximum occupancy
Declaration
public int minGridSize
Field Value
Type | Description |
---|---|
System.Int32 |