Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function computes the sum of the absolute values of the elements of vector x.
/// </summary>
/// <param name="x"></param>
/// <param name="incx"></param>
/// <param name="result"></param>
This function computes the sum of the absolute values of the elements of vector x.
This function computes the sum of the absolute values of the elements of vector x .
public void AbsoluteSum(CudaDeviceVariable<cuDoubleComplex> x, int incx, ref double result)
		{
			_status = CudaBlasNativeMethods.cublasDzasum_v2(_blasHandle, x.Size, x.DevicePointer, incx, ref result);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasDzasum_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void AbsoluteSum ( CudaDeviceVariable < cuDoubleComplex > x , int incx , ref double result ) { _status = CudaBlasNativeMethods . cublasDzasum_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 computes the sum of the absolute values of the elements of vector x.
This function computes the sum of the absolute values of the elements of vector x .
x
CudaDeviceVariable<cuDoubleComplex>
None
incx
int
None
double
ref
<not_specific>
result
<not_specific>
None