Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 32-bit float vector C norm method
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pNorm">Pointer to the norm result.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
32-bit float vector C norm method
32 - bit float vector C norm method
public static void Norm_Inf(this CudaDeviceVariable<float> pSrc, CudaDeviceVariable<float> pNorm, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.Norm.nppsNorm_Inf_32f(pSrc.DevicePointer, pSrc.Size, pNorm.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsNorm_Inf_32f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void Norm_Inf ( this CudaDeviceVariable < float > pSrc , CudaDeviceVariable < float > pNorm , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . Norm . nppsNorm_Inf_32f ( pSrc . DevicePointer , pSrc . Size , pNorm . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
32-bit float vector C norm method
32 - bit float vector C norm method
CudaDeviceVariable<float>
this
pNorm
CudaDeviceVariable<float>
Pointer to the norm result.
Pointer to the norm result .
pDeviceBuffer
CudaDeviceVariable<byte>
Pointer to the required device memory allocation.
Pointer to the required device memory allocation .
pSrc
Source signal pointer.
Source signal pointer .