Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit floating point signal NPP_CMP_LESS threshold with constant level.
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pDst">Destination signal pointer.</param>
/// <param name="nLevel">Constant threshold value to be used to limit each signal sample</param>
64-bit floating point signal NPP_CMP_LESS threshold with constant level.
64 - bit floating point signal NPP_CMP_LESS threshold with constant level .
public static void Threshold_LT(this CudaDeviceVariable<double> pSrc, CudaDeviceVariable<double> pDst, double nLevel)
		{
			NppStatus status = NPPNativeMethods.NPPs.Threshold.nppsThreshold_LT_64f(pSrc.DevicePointer, pDst.DevicePointer, pSrc.Size, nLevel);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsThreshold_LT_64f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Threshold_LT ( this CudaDeviceVariable < double > pSrc , CudaDeviceVariable < double > pDst , double nLevel ) { NppStatus status = NPPNativeMethods . NPPs . Threshold . nppsThreshold_LT_64f ( pSrc . DevicePointer , pDst . DevicePointer , pSrc . Size , nLevel ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
64-bit floating point signal NPP_CMP_LESS threshold with constant level.
64 - bit floating point signal NPP_CMP_LESS threshold with constant level .
CudaDeviceVariable<double>
this
pDst
CudaDeviceVariable<double>
Destination signal pointer.
Destination signal pointer .
nLevel
double
Constant threshold value to be used to limit each signal sample
Constant threshold value to be used to limit each signal sample
pSrc
Source signal pointer.
Source signal pointer .