Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit complex floating point signal add signal,
/// 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>
64-bit complex floating point signal add signal,
then clamp to saturated value.
64 - bit complex floating point signal add signal then clamp to saturated value .
public static void Add(this CudaDeviceVariable<Npp64fc> pSrc1, CudaDeviceVariable<Npp64fc> pSrc2, CudaDeviceVariable<Npp64fc> pDst)
		{
			NppStatus status = NPPNativeMethods.NPPs.AddSignal.nppsAdd_64fc(pSrc1.DevicePointer, pSrc2.DevicePointer, pDst.DevicePointer, pSrc1.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAdd_64fc", status));
			NPPException.CheckNppStatus(status, pSrc1);
		}
public static void Add ( this CudaDeviceVariable < Npp64fc > pSrc1 , CudaDeviceVariable < Npp64fc > pSrc2 , CudaDeviceVariable < Npp64fc > pDst ) { NppStatus status = NPPNativeMethods . NPPs . AddSignal . nppsAdd_64fc ( pSrc1 . DevicePointer , pSrc2 . DevicePointer , pDst . DevicePointer , pSrc1 . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc1 ) ; }
64-bit complex floating point signal add signal,
then clamp to saturated value.
64 - bit complex floating point signal add signal then clamp to saturated value .
CudaDeviceVariable<Npp64fc>
this
pSrc2
CudaDeviceVariable<Npp64fc>
Source signal pointer. signal2 elements to be added to signal1 elements
Source signal pointer . signal2 elements to be added to signal1 elements
pDst
CudaDeviceVariable<Npp64fc>
Destination signal pointer.
Destination signal pointer .
pSrc1
Source signal pointer.
Source signal pointer .