Show / Hide Table of Contents

    Interface ICudaVectorTypeForArray

    Define a common interface for all CUDA vector types supported by CudaArrays

    Namespace: ManagedCuda.VectorTypes
    Assembly: ManagedCuda.dll
    Syntax
    public interface ICudaVectorTypeForArray

    Methods

    | Improve this Doc View Source

    GetChannelNumber()

    Returns the Channel number from vector type, e.g. 3 for float3

    Declaration
    uint GetChannelNumber()
    Returns
    Type Description
    System.UInt32
    | Improve this Doc View Source

    GetCUArrayFormat()

    Returns a matching CUArrayFormat. If none is availabe a CudaException is thrown.

    Declaration
    CUArrayFormat GetCUArrayFormat()
    Returns
    Type Description
    CUArrayFormat
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX