Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit float C norm method on two vectors' difference
/// </summary>
/// <param name="pSrc1">Source signal pointer.</param>
/// <param name="pSrc2">Source signal pointer.</param>
/// <param name="pNorm">Pointer to the norm result.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
64-bit float C norm method on two vectors' difference
64 - bit float C norm method on two vectors ' difference
public static void NormDiff_Inf(this CudaDeviceVariable<double> pSrc1, CudaDeviceVariable<double> pSrc2, CudaDeviceVariable<double> pNorm, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.NormDiff.nppsNormDiff_Inf_64f(pSrc1.DevicePointer, pSrc2.DevicePointer, pSrc1.Size, pNorm.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsNormDiff_Inf_64f", status));
			NPPException.CheckNppStatus(status, pSrc1);
		}
public static void NormDiff_Inf ( this CudaDeviceVariable < double > pSrc1 , CudaDeviceVariable < double > pSrc2 , CudaDeviceVariable < double > pNorm , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . NormDiff . nppsNormDiff_Inf_64f ( pSrc1 . DevicePointer , pSrc2 . DevicePointer , pSrc1 . Size , pNorm . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc1 ) ; }
64-bit float C norm method on two vectors' difference
64 - bit float C norm method on two vectors ' difference
CudaDeviceVariable<double>
this
pSrc2
CudaDeviceVariable<double>
Source signal pointer.
Source signal pointer .
pNorm
CudaDeviceVariable<double>
Pointer to the norm result.
Pointer to the norm 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 .