Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function performs the conversion from the triangular packed format to the
/// triangular format.<para/>
/// If uplo == CUBLAS_FILL_MODE_LOWER then the elements of AP are copied into the
/// lower triangular part of the triangular matrix A and the upper part of A is left untouched.<para/>
/// If uplo == CUBLAS_FILL_MODE_UPPER then the elements of AP are copied into the
/// upper triangular part of the triangular matrix A and the lower part of A is left untouched.
/// </summary>
/// <param name="uplo">indicates if matrix AP contains lower or upper part of matrix A.</param>
/// <param name="n">number of rows and columns of matrix A.</param>
/// <param name="AP">array with A stored in packed format.</param>
/// <param name="A">array of dimensions lda x n , with lda&gt;=max(1,n). The
/// opposite side of A is left untouched.</param>
/// <param name="lda">leading dimension of two-dimensional array used to store matrix A.</param>
This function performs the conversion from the triangular packed format to the
triangular format.
If uplo == CUBLAS_FILL_MODE_LOWER then the elements of AP are copied into the
lower triangular part of the triangular matrix A and the upper part of A is left untouched.
If uplo == CUBLAS_FILL_MODE_UPPER then the elements of AP are copied into the
upper triangular part of the triangular matrix A and the lower part of A is left untouched.
This function performs the conversion from the triangular packed format to the triangular format . If uplo == CUBLAS_FILL_MODE_LOWER then the elements of AP are copied into the lower triangular part of the triangular matrix A and the upper part of A is left untouched . If uplo == CUBLAS_FILL_MODE_UPPER then the elements of AP are copied into the upper triangular part of the triangular matrix A and the lower part of A is left untouched .
public void Dtpttr(FillMode uplo, int n, CudaDeviceVariable<double> AP, CudaDeviceVariable<double> A, int lda)
		{
			_status = CudaBlasNativeMethods.cublasDtpttr(_blasHandle, uplo, n, AP.DevicePointer, A.DevicePointer, lda);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasDtpttr", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Dtpttr ( FillMode uplo , int n , CudaDeviceVariable < double > AP , CudaDeviceVariable < double > A , int lda ) { _status = CudaBlasNativeMethods . cublasDtpttr ( _blasHandle , uplo , n , AP . DevicePointer , A . DevicePointer , lda ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function performs the conversion from the triangular packed format to the
triangular format.
This function performs the conversion from the triangular packed format to the triangular format .
uplo
FillMode
indicates if matrix AP contains lower or upper part of matrix A.
indicates if matrix AP contains lower or upper part of matrix A .
n
int
number of rows and columns of matrix A.
number of rows and columns of matrix A .
AP
CudaDeviceVariable<double>
array with A stored in packed format.
array with A stored in packed format .
A
CudaDeviceVariable<double>
array of dimensions lda x n , with lda>=max(1,n). The
opposite side of A is left untouched.
array of dimensions lda x n with lda > = max ( 1 n ) . The opposite side of A is left untouched .
lda
int
leading dimension of two-dimensional array used to store matrix A.
leading dimension of two - dimensional array used to store matrix A .