Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.Set

    Set methods for 1D vectors of various types. The copy methods operate on vector data given as a pointer to the underlying data-type (e.g. 8-bit vectors would be passed as pointers to Npp8u type) and length of the vectors, i.e. the number of items.

    Inheritance
    System.Object
    NPPNativeMethods.NPPs.Set
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: ManagedCuda.NPP
    Assembly: NPP.dll
    Syntax
    public static class Set

    Methods

    nppsSet_16s(Int16, CUdeviceptr, Int32)

    16-bit integer, vector set method.

    Declaration
    public static NppStatus nppsSet_16s(short nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.Int16 nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_16sc(Npp16sc, CUdeviceptr, Int32)

    16-bit integer complex, vector set method.

    Declaration
    public static NppStatus nppsSet_16sc(Npp16sc nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    Npp16sc nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_16u(UInt16, CUdeviceptr, Int32)

    16-bit unsigned integer, vector set method.

    Declaration
    public static NppStatus nppsSet_16u(ushort nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.UInt16 nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_32f(Single, CUdeviceptr, Int32)

    32-bit float, vector set method.

    Declaration
    public static NppStatus nppsSet_32f(float nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.Single nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_32fc(Npp32fc, CUdeviceptr, Int32)

    32-bit float complex, vector set method.

    Declaration
    public static NppStatus nppsSet_32fc(Npp32fc nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    Npp32fc nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_32s(Int32, CUdeviceptr, Int32)

    32-bit integer, vector set method.

    Declaration
    public static NppStatus nppsSet_32s(int nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.Int32 nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_32sc(Npp32sc, CUdeviceptr, Int32)

    32-bit integer complex, vector set method.

    Declaration
    public static NppStatus nppsSet_32sc(Npp32sc nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    Npp32sc nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_32u(UInt32, CUdeviceptr, Int32)

    32-bit unsigned integer, vector set method.

    Declaration
    public static NppStatus nppsSet_32u(uint nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.UInt32 nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_64f(Double, CUdeviceptr, Int32)

    64-bit double, vector set method.

    Declaration
    public static NppStatus nppsSet_64f(double nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.Double nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_64fc(Npp64fc, CUdeviceptr, Int32)

    64-bit double complex, vector set method.

    Declaration
    public static NppStatus nppsSet_64fc(Npp64fc nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    Npp64fc nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_64s(Int64, CUdeviceptr, Int32)

    64-bit long long integer, vector set method.

    Declaration
    public static NppStatus nppsSet_64s(long nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.Int64 nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_64sc(Npp64sc, CUdeviceptr, Int32)

    64-bit long long integer complex, vector set method.

    Declaration
    public static NppStatus nppsSet_64sc(Npp64sc nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    Npp64sc nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_8s(SByte, CUdeviceptr, Int32)

    8-bit signed char, vector set method.

    Declaration
    public static NppStatus nppsSet_8s(sbyte nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.SByte nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsSet_8u(Byte, CUdeviceptr, Int32)

    8-bit unsigned char, vector set method.

    Declaration
    public static NppStatus nppsSet_8u(byte nValue, CUdeviceptr pDst, int nLength)
    Parameters
    Type Name Description
    System.Byte nValue

    Value used to initialize the vector pDst.

    CUdeviceptr pDst

    Destination signal pointer.

    System.Int32 nLength

    Signal length. Tells the primitive how many of the signal’s samples starting from the given data pointer are to be processed..

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

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