Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit double vector min and max method
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pMin">Pointer to the min output result.</param>
/// <param name="pMax">Pointer to the max output result.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
64-bit double vector min and max method
64 - bit double vector min and max method
public static void MinMax(this CudaDeviceVariable<double> pSrc, CudaDeviceVariable<double> pMin, CudaDeviceVariable<double> pMax, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.MinMaxIndex.nppsMinMax_64f(pSrc.DevicePointer, pSrc.Size, pMin.DevicePointer, pMax.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsMinMax_64f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void MinMax ( this CudaDeviceVariable < double > pSrc , CudaDeviceVariable < double > pMin , CudaDeviceVariable < double > pMax , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . MinMaxIndex . nppsMinMax_64f ( pSrc . DevicePointer , pSrc . Size , pMin . DevicePointer , pMax . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
64-bit double vector min and max method
64 - bit double vector min and max method
CudaDeviceVariable<double>
this
pMin
CudaDeviceVariable<double>
Pointer to the min output result.
Pointer to the min output result .
pMax
CudaDeviceVariable<double>
Pointer to the max output result.
Pointer to the max output 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 .