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