Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function finds the (smallest) index of the element of the maximum magnitude.<para/>
/// First index starts at 1 (Fortran notation)
/// </summary>
/// <param name="x"></param>
/// <param name="incx"></param>
/// <param name="result"></param>
This function finds the (smallest) index of the element of the maximum magnitude.
First index starts at 1 (Fortran notation)
This function finds the ( smallest ) index of the element of the maximum magnitude . First index starts at 1 ( Fortran notation )
public void Max(CudaDeviceVariable<cuDoubleComplex> x, int incx, ref int result)
		{
			_status = CudaBlasNativeMethods.cublasIzamax_v2(_blasHandle, x.Size, x.DevicePointer, incx, ref result);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasIzamax_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Max ( CudaDeviceVariable < cuDoubleComplex > x , int incx , ref int result ) { _status = CudaBlasNativeMethods . cublasIzamax_v2 ( _blasHandle , x . Size , x . DevicePointer , incx , ref result ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function finds the (smallest) index of the element of the maximum magnitude.
This function finds the ( smallest ) index of the element of the maximum magnitude .
x
CudaDeviceVariable<cuDoubleComplex>
None
incx
int
None
int
ref
<not_specific>
result
<not_specific>
None