Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit unsigned short in place signal and with signal.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pSrcDst">In-Place Signal Pointer. signal2 elements to be anded with signal1 elements</param>
16-bit unsigned short in place signal and with signal.
16 - bit unsigned short in place signal and with signal .
public static void And(this CudaDeviceVariable<ushort> pSrcDst, CudaDeviceVariable<ushort> pSrc)
		{
			NppStatus status = NPPNativeMethods.NPPs.And.nppsAnd_16u_I(pSrc.DevicePointer, pSrcDst.DevicePointer, pSrcDst.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAnd_16u_I", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void And ( this CudaDeviceVariable < ushort > pSrcDst , CudaDeviceVariable < ushort > pSrc ) { NppStatus status = NPPNativeMethods . NPPs . And . nppsAnd_16u_I ( pSrc . DevicePointer , pSrcDst . DevicePointer , pSrcDst . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
16-bit unsigned short in place signal and with signal.
16 - bit unsigned short in place signal and with signal .
CudaDeviceVariable<ushort>
this
pSrc
CudaDeviceVariable<ushort>
Source signal pointer.
Source signal pointer .
pSrcDst
In-Place Signal Pointer. signal2 elements to be anded with signal1 elements
In - Place Signal Pointer . signal2 elements to be anded with signal1 elements