Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit unsigned integer signal and with constant.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="nValue">Constant value to be anded with each vector element</param>
/// <param name="pDst">Destination signal pointer.</param>
32-bit unsigned integer signal and with constant.
32 - bit unsigned integer signal and with constant .
public static void AndC(this CudaDeviceVariable<uint> pSrc, CudaDeviceVariable<uint> pDst, uint nValue)
		{
			NppStatus status = NPPNativeMethods.NPPs.AndC.nppsAndC_32u(pSrc.DevicePointer, nValue, pDst.DevicePointer, pSrc.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsAndC_32u", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void AndC ( this CudaDeviceVariable < uint > pSrc , CudaDeviceVariable < uint > pDst , uint nValue ) { NppStatus status = NPPNativeMethods . NPPs . AndC . nppsAndC_32u ( pSrc . DevicePointer , nValue , pDst . DevicePointer , pSrc . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
32-bit unsigned integer signal and with constant.
32 - bit unsigned integer signal and with constant .
CudaDeviceVariable<uint>
this
pDst
CudaDeviceVariable<uint>
Destination signal pointer.
Destination signal pointer .
nValue
uint
Constant value to be anded with each vector element
Constant value to be anded with each vector element
pSrc
Source signal pointer.
Source signal pointer .