Show / Hide Table of Contents

    Delegate CudaOccupancy.del_blockSizeToDynamicSMemSize

    A function to convert from block size to dynamic shared memory size.

    e.g.: If no dynamic shared memory is used: x => 0

    If 4 bytes shared memory per thread is used: x = 4 * x

    Namespace: ManagedCuda
    Assembly: ManagedCuda.dll
    Syntax
    public delegate SizeT del_blockSizeToDynamicSMemSize(int aBlockSize);
    Parameters
    Type Name Description
    System.Int32 aBlockSize

    block size

    Returns
    Type Description
    SizeT

    size of dynamic shared memory

    • Improve this Doc
    • View Source
    Back to top Generated by DocFX