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