Show / Hide Table of Contents

    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 Source

    blockSize

    maximum block size that can achieve the maximum occupancy

    Declaration
    public int blockSize
    Field Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    minGridSize

    minimum grid size needed to achieve the maximum occupancy

    Declaration
    public int minGridSize
    Field Value
    Type Description
    System.Int32
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX