Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit short complex vector sum with integer scaling method
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pSum">Pointer to the output result.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
/// <param name="nScaleFactor">Integer Result Scaling.</param>
16-bit short complex vector sum with integer scaling method
16 - bit short complex vector sum with integer scaling method
public static void Sum(this CudaDeviceVariable<Npp16sc> pSrc, CudaDeviceVariable<Npp16sc> pSum, CudaDeviceVariable<byte> pDeviceBuffer, int nScaleFactor)
		{
			NppStatus status = NPPNativeMethods.NPPs.Sum.nppsSum_16sc_Sfs(pSrc.DevicePointer, pSrc.Size, pSum.DevicePointer, nScaleFactor, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSum_16sc_Sfs", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Sum ( this CudaDeviceVariable < Npp16sc > pSrc , CudaDeviceVariable < Npp16sc > pSum , CudaDeviceVariable < byte > pDeviceBuffer , int nScaleFactor ) { NppStatus status = NPPNativeMethods . NPPs . Sum . nppsSum_16sc_Sfs ( pSrc . DevicePointer , pSrc . Size , pSum . DevicePointer , nScaleFactor , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
16-bit short complex vector sum with integer scaling method
16 - bit short complex vector sum with integer scaling method
CudaDeviceVariable<Npp16sc>
this
pSum
CudaDeviceVariable<Npp16sc>
Pointer to the output result.
Pointer to the output result .
pDeviceBuffer
CudaDeviceVariable<byte>
Pointer to the required device memory allocation.
Pointer to the required device memory allocation .
nScaleFactor
int
Integer Result Scaling.
Integer Result Scaling .
pSrc
Source signal pointer.
Source signal pointer .