Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit signed short signal absolute value.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer.</param>
16-bit signed short signal absolute value.
16 - bit signed short signal absolute value .
public static void Abs(this CudaDeviceVariable<short> pSrc, CudaDeviceVariable<short> pDst)
		{
			NppStatus status = NPPNativeMethods.NPPs.AbsoluteValueSignal.nppsAbs_16s(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAbs_16s", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Abs ( this CudaDeviceVariable < short > pSrc , CudaDeviceVariable < short > pDst ) { NppStatus status = NPPNativeMethods . NPPs . AbsoluteValueSignal . nppsAbs_16s ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
16-bit signed short signal absolute value.
16 - bit signed short signal absolute value .
CudaDeviceVariable<short>
this
pDst
CudaDeviceVariable<short>
Destination signal pointer.
Destination signal pointer .
pSrc
Source signal pointer.
Source signal pointer .