rocblas_strtri Interface Reference

rocblas_strtri Interface Reference#

HIPFORT API Reference: hipfort_rocblas::rocblas_strtri Interface Reference
hipfort_rocblas::rocblas_strtri Interface Reference

BLAS Level 3 API. More...

Public Member Functions

integer(kind(rocblas_status_success)) function rocblas_strtri_ (handle, uplo, diag, n, a, lda, inva, ldinva)
 
integer(kind(rocblas_status_success)) function rocblas_strtri_rank_0 (handle, uplo, diag, n, a, lda, inva, ldinva)
 
integer(kind(rocblas_status_success)) function rocblas_strtri_rank_1 (handle, uplo, diag, n, a, lda, inva, ldinva)
 
integer(kind(rocblas_status_success)) function rocblas_strtri_full_rank (handle, uplo, diag, n, a, lda, inva, ldinva)
 

Detailed Description

BLAS Level 3 API.

The trtri functions compute the inverse of a matrix A, namely, invA, and write the result into invA.

Parameters
[in]handle- [rocblas_handle] handle to the rocBLAS library context queue.
[in]uplo- [rocblas_fill] specifies whether upper (rocblas_fill_upper) or lower (rocblas_fill_lower):
  • If rocblas_fill_upper, the lower part of A is not referenced.
  • If rocblas_fill_lower, the upper part of A is not referenced.
[in]diag- [rocblas_diagonal]
  • 'rocblas_diagonal_non_unit': A is non-unit triangular.
  • 'rocblas_diagonal_unit': A is unit triangular.
[in]n- [rocblas_int] size of matrix A and invA.
[in]A- device pointer storing matrix A.
[in]lda- [rocblas_int] specifies the leading dimension of A.
[out]invA- device pointer storing matrix invA. Partial inplace operation is supported. See below:
  • If UPLO = 'U', the leading N-by-N upper triangular part of the invA will store the inverse of the upper triangular matrix, and the strictly lower triangular part of invA can be cleared.
  • If UPLO = 'L', the leading N-by-N lower triangular part of the invA will store the inverse of the lower triangular matrix, and the strictly upper triangular part of invA can be cleared.
[in]ldinvA- [rocblas_int] specifies the leading dimension of invA.

Member Function/Subroutine Documentation

◆ rocblas_strtri_()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strtri::rocblas_strtri_ ( type(c_ptr), value  handle,
integer(kind(rocblas_fill_upper)), value  uplo,
integer(kind(rocblas_diagonal_non_unit)), value  diag,
integer(c_int), value  n,
type(c_ptr), value  a,
integer(c_int), value  lda,
type(c_ptr), value  inva,
integer(c_int), value  ldinva 
)

◆ rocblas_strtri_full_rank()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strtri::rocblas_strtri_full_rank ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_diagonal_non_unit))  diag,
integer(c_int)  n,
real(c_float), dimension(:,:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:,:), target  inva,
integer(c_int)  ldinva 
)

◆ rocblas_strtri_rank_0()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strtri::rocblas_strtri_rank_0 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_diagonal_non_unit))  diag,
integer(c_int)  n,
real(c_float), target  a,
integer(c_int)  lda,
real(c_float), target  inva,
integer(c_int)  ldinva 
)

◆ rocblas_strtri_rank_1()

integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strtri::rocblas_strtri_rank_1 ( type(c_ptr)  handle,
integer(kind(rocblas_fill_upper))  uplo,
integer(kind(rocblas_diagonal_non_unit))  diag,
integer(c_int)  n,
real(c_float), dimension(:), target  a,
integer(c_int)  lda,
real(c_float), dimension(:), target  inva,
integer(c_int)  ldinva 
)

The documentation for this interface was generated from the following file: