Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function performs the triangular packed matrix-vector multiplication x= Op(A) x where A is a triangular matrix stored in packed format, and x is a vector. n is given by x.Size.
/// </summary>
/// <param name="uplo">indicates if matrix A lower or upper part is stored, the other part is not referenced and is inferred from the stored elements.</param>
/// <param name="trans">operation op(A) that is non- or (conj.) transpose.</param>
/// <param name="diag">indicates if the elements on the main diagonal of matrix A are unity and should not be accessed.</param>
/// <param name="AP">array of dimensions lda * n, with lda >= max(1,n).</param>
/// <param name="x">vector with n elements.</param>
/// <param name="incx">stride between consecutive elements of x.</param>
This function performs the triangular packed matrix-vector multiplication x= Op(A) x where A is a triangular matrix stored in packed format, and x is a vector. n is given by x.Size.
This function performs the triangular packed matrix - vector multiplication x = Op ( A ) x where A is a triangular matrix stored in packed format and x is a vector . n is given by x . Size .
public void Tpmv(FillMode uplo, Operation trans, DiagType diag, CudaDeviceVariable<cuDoubleComplex> AP, CudaDeviceVariable<cuDoubleComplex> x, int incx)
		{
			_status = CudaBlasNativeMethods.cublasZtpmv_v2(_blasHandle, uplo, trans, diag, x.Size, AP.DevicePointer, x.DevicePointer, incx);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasZtpmv_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Tpmv ( FillMode uplo , Operation trans , DiagType diag , CudaDeviceVariable < cuDoubleComplex > AP , CudaDeviceVariable < cuDoubleComplex > x , int incx ) { _status = CudaBlasNativeMethods . cublasZtpmv_v2 ( _blasHandle , uplo , trans , diag , x . Size , AP . DevicePointer , x . DevicePointer , incx ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function performs the triangular packed matrix-vector multiplication x= Op(A) x where A is a triangular matrix stored in packed format, and x is a vector.
This function performs the triangular packed matrix - vector multiplication x = Op ( A ) x where A is a triangular matrix stored in packed format and x is a vector .
uplo
FillMode
indicates if matrix A lower or upper part is stored, the other part is not referenced and is inferred from the stored elements.
indicates if matrix A lower or upper part is stored the other part is not referenced and is inferred from the stored elements .
trans
Operation
operation op(A) that is non- or (conj.) transpose.
operation op ( A ) that is non - or ( conj . ) transpose .
diag
DiagType
indicates if the elements on the main diagonal of matrix A are unity and should not be accessed.
indicates if the elements on the main diagonal of matrix A are unity and should not be accessed .
AP
CudaDeviceVariable<cuDoubleComplex>
array of dimensions lda * n, with lda >= max(1,n).
array of dimensions lda * n with lda > = max ( 1 n ) .
x
CudaDeviceVariable<cuDoubleComplex>
vector with n elements.
vector with n elements .
incx
int
stride between consecutive elements of x.
stride between consecutive elements of x .