Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit floating point signal squared.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer.</param>
64-bit floating point signal squared.
64 - bit floating point signal squared .
public static void Sqr(this CudaDeviceVariable<double> pSrc, CudaDeviceVariable<double> pDst)
		{
			NppStatus status = NPPNativeMethods.NPPs.SquareSignal.nppsSqr_64f(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSqr_64f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Sqr ( this CudaDeviceVariable < double > pSrc , CudaDeviceVariable < double > pDst ) { NppStatus status = NPPNativeMethods . NPPs . SquareSignal . nppsSqr_64f ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
64-bit floating point signal squared.
64 - bit floating point signal squared .
CudaDeviceVariable<double>
this
pDst
CudaDeviceVariable<double>
Destination signal pointer.
Destination signal pointer .
pSrc
Source signal pointer.
Source signal pointer .