Show / Hide Table of Contents

    Class NPPNativeMethods.NPPs.MaximumRelativeError

    Primitives for computing the MaximumRelative error between two signals.

    Inheritance
    System.Object
    NPPNativeMethods.NPPs.MaximumRelativeError
    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 MaximumRelativeError

    Methods

    nppsMaximumRelativeError_16s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    16-bit signed short integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_16s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_16sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    16-bit unsigned short complex integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_16sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_16u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    16-bit unsigned short integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_16u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_32f(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit floating point MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_32f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_32fc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit floating point complex MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_32fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_32s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit signed short integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_32s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_32sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit unsigned short complex integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_32sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_32u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    32-bit unsigned short integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_32u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_64f(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit floating point MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_64f(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_64fc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit floating point complex MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_64fc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_64s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit signed short integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_64s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_64sc(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    64-bit unsigned short complex integer MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_64sc(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_8s(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    8-bit signed char MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_8s(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeError_8u(CUdeviceptr, CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)

    8-bit unsigned char MaximumRelative method.

    Declaration
    public static NppStatus nppsMaximumRelativeError_8u(CUdeviceptr pSrc1, CUdeviceptr pSrc2, int nLength, CUdeviceptr pDst, CUdeviceptr pDeviceBuffer)
    Parameters
    Type Name Description
    CUdeviceptr pSrc1

    Source signal pointer.

    CUdeviceptr pSrc2

    Source 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..

    CUdeviceptr pDst

    Pointer to the error result.

    CUdeviceptr pDeviceBuffer

    Pointer to the required device memory allocation, Scratch Buffer and Host Pointer.

    Returns
    Type Description
    NppStatus

    NullPointerError, AlignmentError, SizeError.

    nppsMaximumRelativeErrorGetBufferSize_16s(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_16s.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_16s(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_16sc(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_16sc.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_16sc(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_16u(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_16u.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_16u(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_32f(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_32f.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_32f(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_32fc(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_32fc.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_32fc(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_32s(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_32s.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_32s(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_32sc(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_32sc.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_32sc(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_32u(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_32u.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_32u(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_64f(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_64f.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_64f(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_64fc(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_64fc.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_64fc(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_64s(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_64s.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_64s(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_64sc(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_64sc.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_64sc(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_8s(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_8s.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_8s(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

    nppsMaximumRelativeErrorGetBufferSize_8u(Int32, ref Int32)

    Device-buffer size (in bytes) for nppsMaximumRelativeError_8u.

    Declaration
    public static NppStatus nppsMaximumRelativeErrorGetBufferSize_8u(int nLength, ref int hpBufferSize)
    Parameters
    Type Name Description
    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..

    System.Int32 hpBufferSize

    Required buffer size. Important:

    Returns
    Type Description
    NppStatus

    NPP_SUCCESS

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