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