Class NPPNativeMethods.NPPs.Max
Functions that provide global signal statistics like: average, standard deviation, minimum, etc.
Inheritance
Inherited Members
Namespace: ManagedCuda.NPP
Assembly: NPP.dll
Syntax
public static class Max
Methods
nppsMax_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit integer vector max method
Declaration
public static NppStatus nppsMax_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMax_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit float vector max method
Declaration
public static NppStatus nppsMax_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMax_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit integer vector max method
Declaration
public static NppStatus nppsMax_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMax_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
64-bit float vector max method
Declaration
public static NppStatus nppsMax_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxAbs_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
16-bit integer vector max absolute method
Declaration
public static NppStatus nppsMaxAbs_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMaxAbs, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMaxAbs | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxAbs_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr)
32-bit integer vector max absolute method
Declaration
public static NppStatus nppsMaxAbs_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMaxAbs, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMaxAbs | Pointer to the output result. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxAbsGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxAbs_16s.
Declaration
public static NppStatus nppsMaxAbsGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxAbsGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxAbs_32s.
Declaration
public static NppStatus nppsMaxAbsGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxAbsIndx_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit integer vector max absolute index method
Declaration
public static NppStatus nppsMaxAbsIndx_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMaxAbs, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMaxAbs | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first maximum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxAbsIndx_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit integer vector max absolute index method
Declaration
public static NppStatus nppsMaxAbsIndx_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMaxAbs, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMaxAbs | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first maximum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxAbsIndxGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxAbsIndx_16s.
Declaration
public static NppStatus nppsMaxAbsIndxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxAbsIndxGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxAbsIndx_32s.
Declaration
public static NppStatus nppsMaxAbsIndxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMax_16s.
Declaration
public static NppStatus nppsMaxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxGetBufferSize_32f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMax_32f.
Declaration
public static NppStatus nppsMaxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMax_32s.
Declaration
public static NppStatus nppsMaxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxGetBufferSize_64f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMax_64f.
Declaration
public static NppStatus nppsMaxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxIndx_16s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
16-bit integer vector max index method
Declaration
public static NppStatus nppsMaxIndx_16s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first maximum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxIndx_32f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit float vector max index method
Declaration
public static NppStatus nppsMaxIndx_32f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first maximum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxIndx_32s(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
32-bit integer vector max index method
Declaration
public static NppStatus nppsMaxIndx_32s(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first maximum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxIndx_64f(CUdeviceptr, Int32, CUdeviceptr, CUdeviceptr, CUdeviceptr)
64-bit float vector max index method
Declaration
public static NppStatus nppsMaxIndx_64f(CUdeviceptr pSrc, int nLength, CUdeviceptr pMax, CUdeviceptr pIndx, CUdeviceptr pDeviceBuffer)
Parameters
Type | Name | Description |
---|---|---|
CUdeviceptr | pSrc | 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 | pMax | Pointer to the output result. |
CUdeviceptr | pIndx | Pointer to the index value of the first maximum element. |
CUdeviceptr | pDeviceBuffer | Pointer to the required device memory allocation. |
Returns
Type | Description |
---|---|
NppStatus |
nppsMaxIndxGetBufferSize_16s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxIndx_16s.
Declaration
public static NppStatus nppsMaxIndxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxIndxGetBufferSize_32f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxIndx_32f.
Declaration
public static NppStatus nppsMaxIndxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxIndxGetBufferSize_32s(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxIndx_32s.
Declaration
public static NppStatus nppsMaxIndxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |
nppsMaxIndxGetBufferSize_64f(Int32, ref Int32)
Device scratch buffer size (in bytes) for nppsMaxIndx_64f.
Declaration
public static NppStatus nppsMaxIndxGetBufferSize_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: hpBufferSize is a |
Returns
Type | Description |
---|---|
NppStatus | NPP_SUCCESS |