Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit unsigned short complex integer AverageRelative method.
/// </summary>
/// <param name="pSrc1">Source signal pointer.</param>
/// <param name="pSrc2">Source signal pointer.</param>
/// <param name="pDst">Pointer to the error result.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
16-bit unsigned short complex integer AverageRelative method.
16 - bit unsigned short complex integer AverageRelative method .
public static void AverageRelativeError(this CudaDeviceVariable<Npp16sc> pSrc1, CudaDeviceVariable<Npp16sc> pSrc2, CudaDeviceVariable<double> pDst, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.AverageRelativeError.nppsAverageRelativeError_16sc(pSrc1.DevicePointer, pSrc2.DevicePointer, pSrc1.Size, pDst.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAverageRelativeError_16sc", status));
			NPPException.CheckNppStatus(status, pSrc1);
		}
public static void AverageRelativeError ( this CudaDeviceVariable < Npp16sc > pSrc1 , CudaDeviceVariable < Npp16sc > pSrc2 , CudaDeviceVariable < double > pDst , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . AverageRelativeError . nppsAverageRelativeError_16sc ( pSrc1 . DevicePointer , pSrc2 . DevicePointer , pSrc1 . Size , pDst . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc1 ) ; }
16-bit unsigned short complex integer AverageRelative method.
16 - bit unsigned short complex integer AverageRelative method .
CudaDeviceVariable<Npp16sc>
this
pSrc2
CudaDeviceVariable<Npp16sc>
Source signal pointer.
Source signal pointer .
pDst
CudaDeviceVariable<double>
Pointer to the error result.
Pointer to the error result .
pDeviceBuffer
CudaDeviceVariable<byte>
Pointer to the required device memory allocation.
Pointer to the required device memory allocation .
pSrc1
Source signal pointer.
Source signal pointer .