Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit floating point in place signal subtract constant.
/// </summary>
/// <param name="pSrcDst">In-Place Signal Pointer.</param>
/// <param name="nValue">Constant value to be subtracted from each vector element</param>
32-bit floating point in place signal subtract constant.
32 - bit floating point in place signal subtract constant .
public static void SubC(this CudaDeviceVariable<float> pSrcDst, float nValue)
		{
			NppStatus status = NPPNativeMethods.NPPs.SubC.nppsSubC_32f_I(nValue, pSrcDst.DevicePointer, pSrcDst.Size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsSubC_32f_I", status));
			NPPException.CheckNppStatus(status, pSrcDst);
		}
public static void SubC ( this CudaDeviceVariable < float > pSrcDst , float nValue ) { NppStatus status = NPPNativeMethods . NPPs . SubC . nppsSubC_32f_I ( nValue , pSrcDst . DevicePointer , pSrcDst . Size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrcDst ) ; }
32-bit floating point in place signal subtract constant.
32 - bit floating point in place signal subtract constant .
CudaDeviceVariable<float>
this
nValue
float
Constant value to be subtracted from each vector element
Constant value to be subtracted from each vector element
pSrcDst
In-Place Signal Pointer.
In - Place Signal Pointer .