Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit signed complex integer add signal, scale, then clamp to saturated value.
/// </summary>
/// <param name="pSrc1">Source signal pointer.</param>
/// <param name="pSrc2">Source signal pointer, signal2 elements to be added to signal1 elements.</param>
/// <param name="pDst">Destination signal pointer.</param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
32-bit signed complex integer add signal, scale, then clamp to saturated value.
32 - bit signed complex integer add signal scale then clamp to saturated value .
public static void Add(this CudaDeviceVariable<Npp32sc> pSrc1, CudaDeviceVariable<Npp32sc> pSrc2, CudaDeviceVariable<Npp32sc> pDst, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.AddSignal.nppsAdd_32sc_Sfs(pSrc1.DevicePointer, pSrc2.DevicePointer, pDst.DevicePointer, pSrc1.Size, nScaleFactor);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAdd_32sc_Sfs", status));
			NPPException.CheckNppStatus(status, pSrc1);
		}
public static void Add ( this CudaDeviceVariable < Npp32sc > pSrc1 , CudaDeviceVariable < Npp32sc > pSrc2 , CudaDeviceVariable < Npp32sc > pDst , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . AddSignal . nppsAdd_32sc_Sfs ( pSrc1 . DevicePointer , pSrc2 . DevicePointer , pDst . DevicePointer , pSrc1 . Size , nScaleFactor ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc1 ) ; }
32-bit signed complex integer add signal, scale, then clamp to saturated value.
32 - bit signed complex integer add signal scale then clamp to saturated value .
CudaDeviceVariable<Npp32sc>
this
pSrc2
CudaDeviceVariable<Npp32sc>
Source signal pointer, signal2 elements to be added to signal1 elements.
Source signal pointer signal2 elements to be added to signal1 elements .
pDst
CudaDeviceVariable<Npp32sc>
Destination signal pointer.
Destination signal pointer .
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrc1
Source signal pointer.
Source signal pointer .