Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit float complex vector sum 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>
32-bit float complex vector sum method
32 - bit float complex vector sum method
public static void Sum(this CudaDeviceVariable<Npp32fc> pSrc, CudaDeviceVariable<Npp32fc> pSum, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.Sum.nppsSum_32fc(pSrc.DevicePointer, pSrc.Size, pSum.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSum_32fc", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Sum ( this CudaDeviceVariable < Npp32fc > pSrc , CudaDeviceVariable < Npp32fc > pSum , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . Sum . nppsSum_32fc ( pSrc . DevicePointer , pSrc . Size , pSum . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
32-bit float complex vector sum method
32 - bit float complex vector sum method
CudaDeviceVariable<Npp32fc>
this
pSum
CudaDeviceVariable<Npp32fc>
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 .
pSrc
Source signal pointer.
Source signal pointer .