Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 8-bit unsigned char in place signal left shift with constant.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nValue">Constant value to be used to left shift each vector element</param>
8-bit unsigned char in place signal left shift with constant.
8 - bit unsigned char in place signal left shift with constant .
public static void LShiftC(this CudaDeviceVariable<byte> pSrcDst, int nValue)
		{
			NppStatus status = NPPNativeMethods.NPPs.LShiftC.nppsLShiftC_8u_I(nValue, pSrcDst.DevicePointer, pSrcDst.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsLShiftC_8u_I", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void LShiftC ( this CudaDeviceVariable < byte > pSrcDst , int nValue ) { NppStatus status = NPPNativeMethods . NPPs . LShiftC . nppsLShiftC_8u_I ( nValue , pSrcDst . DevicePointer , pSrcDst . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
8-bit unsigned char in place signal left shift with constant.
8 - bit unsigned char in place signal left shift with constant .
CudaDeviceVariable<byte>
this
nValue
int
Constant value to be used to left shift each vector element
Constant value to be used to left shift each vector element
pSrcDst
In-Place Signal Pointer.
In - Place Signal Pointer .