Library/ManagedCuda/NPP/NPPsExtensionMethods.cs
/// <summary>
/// 64-bit float vector max index method
/// </summary>
/// <param name="pSrc">Source signal pointer.</param>
/// <param name="pMax">Pointer to the output result.</param>
/// <param name="pIndx">Pointer to the index value of the first maximum element.</param>
/// <param name="pDeviceBuffer">Pointer to the required device memory allocation. </param>
64-bit float vector max index method
64 - bit float vector max index method
public static void MaxIndx(this CudaDeviceVariable<double> pSrc, CudaDeviceVariable<double> pMax, CudaDeviceVariable<int> pIndx, CudaDeviceVariable<byte> pDeviceBuffer)
		{
			NppStatus status = NPPNativeMethods.NPPs.Max.nppsMaxIndx_64f(pSrc.DevicePointer, pSrc.Size, pMax.DevicePointer, pIndx.DevicePointer, pDeviceBuffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppsMaxIndx_64f", status));
			NPPException.CheckNppStatus(status, pSrc);
		}
public static void MaxIndx ( this CudaDeviceVariable < double > pSrc , CudaDeviceVariable < double > pMax , CudaDeviceVariable < int > pIndx , CudaDeviceVariable < byte > pDeviceBuffer ) { NppStatus status = NPPNativeMethods . NPPs . Max . nppsMaxIndx_64f ( pSrc . DevicePointer , pSrc . Size , pMax . DevicePointer , pIndx . DevicePointer , pDeviceBuffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , pSrc ) ; }
64-bit float vector max index method
64 - bit float vector max index method
CudaDeviceVariable<double>
this
<not_specific>
pMax
CudaDeviceVariable<double>
Pointer to the output result.
Pointer to the output result .
pIndx
CudaDeviceVariable<int>
Pointer to the index value of the first maximum element.
Pointer to the index value of the first maximum element .
pDeviceBuffer
CudaDeviceVariable<byte>
Pointer to the required device memory allocation.
Pointer to the required device memory allocation .
pSrc
<not_specific>
Source signal pointer.
Source signal pointer .