Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit floating point in place signal divide signal,
/// then clamp to saturated value.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pSrcDst">In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements</param>
64-bit floating point in place signal divide signal,
then clamp to saturated value.
64 - bit floating point in place signal divide signal then clamp to saturated value .
public static void Div(this CudaDeviceVariable<double> pSrcDst, CudaDeviceVariable<double> pSrc)
		{
			NppStatus status = NPPNativeMethods.NPPs.DivSignal.nppsDiv_64f_I(pSrc.DevicePointer, pSrcDst.DevicePointer, pSrcDst.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsDiv_64f_I", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void Div ( this CudaDeviceVariable < double > pSrcDst , CudaDeviceVariable < double > pSrc ) { NppStatus status = NPPNativeMethods . NPPs . DivSignal . nppsDiv_64f_I ( pSrc . DevicePointer , pSrcDst . DevicePointer , pSrcDst . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
64-bit floating point in place signal divide signal,
then clamp to saturated value.
64 - bit floating point in place signal divide signal then clamp to saturated value .
CudaDeviceVariable<double>
this
pSrc
CudaDeviceVariable<double>
Source signal pointer.
Source signal pointer .
pSrcDst
In-Place Signal Pointer. signal1 divisor elements to be divided into signal2 dividend elements
In - Place Signal Pointer . signal1 divisor elements to be divided into signal2 dividend elements