Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 8-bit unsigned char signal or with signal.
/// </summary>
/// <param name="pSrc1">Source signal pointer.</param>
/// <param name="pSrc2">Source signal pointer. signal2 elements to be ored with signal1 elements</param>
/// <param name="pDst">Destination signal pointer.</param>
8-bit unsigned char signal or with signal.
8 - bit unsigned char signal or with signal .
public static void Or(this CudaDeviceVariable<byte> pSrc1, CudaDeviceVariable<byte> pSrc2, CudaDeviceVariable<byte> pDst)
		{
			NppStatus status = NPPNativeMethods.NPPs.Or.nppsOr_8u(pSrc1.DevicePointer, pSrc2.DevicePointer, pDst.DevicePointer, pSrc1.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsOr_8u", status));
			NPPException.CheckNppStatus(status, pSrc1);
		}
public static void Or ( this CudaDeviceVariable < byte > pSrc1 , CudaDeviceVariable < byte > pSrc2 , CudaDeviceVariable < byte > pDst ) { NppStatus status = NPPNativeMethods . NPPs . Or . nppsOr_8u ( pSrc1 . DevicePointer , pSrc2 . DevicePointer , pDst . DevicePointer , pSrc1 . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc1 ) ; }
8-bit unsigned char signal or with signal.
8 - bit unsigned char signal or with signal .
CudaDeviceVariable<byte>
this
pSrc2
CudaDeviceVariable<byte>
Source signal pointer. signal2 elements to be ored with signal1 elements
Source signal pointer . signal2 elements to be ored with signal1 elements
pDst
CudaDeviceVariable<byte>
Destination signal pointer.
Destination signal pointer .
pSrc1
Source signal pointer.
Source signal pointer .