Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 16-bit integer vector min index method
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pMin">Pointer to the output result.</param>
/// <param name="pIndx">Pointer to the index value of the first minimum element.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
16-bit integer vector min index method
16 - bit integer vector min index method
public static void MinIndx(this CudaDeviceVariable<short> pSrc, CudaDeviceVariable<short> pMin, CudaDeviceVariable<int> pIndx, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.Min.nppsMinIndx_16s(pSrc.DevicePointer, pSrc.Size, pMin.DevicePointer, pIndx.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsMinIndx_16s", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void MinIndx ( this CudaDeviceVariable < short > pSrc , CudaDeviceVariable < short > pMin , CudaDeviceVariable < int > pIndx , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . Min . nppsMinIndx_16s ( pSrc . DevicePointer , pSrc . Size , pMin . DevicePointer , pIndx . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
16-bit integer vector min index method
16 - bit integer vector min index method
CudaDeviceVariable<short>
this
pMin
CudaDeviceVariable<short>
Pointer to the output result.
Pointer to the output result .
pIndx
CudaDeviceVariable<int>
Pointer to the index value of the first minimum element.
Pointer to the index value of the first minimum element .
pDeviceBuffer
CudaDeviceVariable<byte>
Pointer to the required device memory allocation.
Pointer to the required device memory allocation .
pSrc
Source signal pointer.
Source signal pointer .