rocblas_strsv Interface Reference#
hipfort_rocblas::rocblas_strsv Interface Reference
BLAS Level 2 API. More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_strsv_ (handle, uplo, transa, diag, n, a, lda, x, incx) |
| integer(kind(rocblas_status_success)) function | rocblas_strsv_rank_0 (handle, uplo, transa, diag, n, a, lda, x, incx) |
| integer(kind(rocblas_status_success)) function | rocblas_strsv_rank_1 (handle, uplo, transa, diag, n, a, lda, x, incx) |
| integer(kind(rocblas_status_success)) function | rocblas_strsv_full_rank (handle, uplo, transa, diag, n, a, lda, x, incx) |
Detailed Description
BLAS Level 2 API.
The trsv functions solve:
A*x = b or A**T*x = b or A**H*x = b,
where x and b are vectors and A is a triangular matrix. The vector x is overwritten on b.
Although not widespread, some GEMM kernels used by trsv might use atomic operations. See Atomic Operations in the API Reference Guide for more information.
- Parameters
-
[in] handle - [rocblas_handle] handle to the rocBLAS library context queue. [in] uplo - [rocblas_fill] - rocblas_fill_upper: A is an upper triangular matrix.
- rocblas_fill_lower: A is a lower triangular matrix.
[in] transA - [rocblas_operation] - rocblas_operation_none: op(A) = A.
- rocblas_operation_transpose: op(A) = A^T.
- rocblas_operation_conjugate_transpose: op(A) = A^H.
[in] diag - [rocblas_diagonal] - rocblas_diagonal_unit: A is assumed to be unit triangular.
- rocblas_diagonal_non_unit: A is not assumed to be unit triangular.
[in] n - [rocblas_int] n specifies the number of rows of b. n >= 0. [in] A - device pointer storing matrix A, of dimension ( lda, n ). If uplo == rocblas_fill_upper, the upper triangular part of the leading n-by-n array contains the matrix A. Otherwise, the lower triangular part of the leading n-by-n array contains the matrix A. [in] lda - [rocblas_int] specifies the leading dimension of A. lda must be at least max( 1, n ). [in,out] x - device pointer storing vector x. On exit, x is overwritten with the transformed vector x. [in] incx - [rocblas_int] specifies the increment for the elements of x.
Member Function/Subroutine Documentation
◆ rocblas_strsv_()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strsv::rocblas_strsv_ | ( | type(c_ptr), value | handle, |
| integer(kind(rocblas_fill_upper)), value | uplo, | ||
| integer(kind(rocblas_operation_none)), value | transa, | ||
| 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 | x, | ||
| integer(c_int), value | incx | ||
| ) |
◆ rocblas_strsv_full_rank()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strsv::rocblas_strsv_full_rank | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_fill_upper)) | uplo, | ||
| integer(kind(rocblas_operation_none)) | transa, | ||
| 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 | x, | ||
| integer(c_int) | incx | ||
| ) |
◆ rocblas_strsv_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strsv::rocblas_strsv_rank_0 | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_fill_upper)) | uplo, | ||
| integer(kind(rocblas_operation_none)) | transa, | ||
| integer(kind(rocblas_diagonal_non_unit)) | diag, | ||
| integer(c_int) | n, | ||
| real(c_float), target | a, | ||
| integer(c_int) | lda, | ||
| real(c_float), target | x, | ||
| integer(c_int) | incx | ||
| ) |
◆ rocblas_strsv_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_strsv::rocblas_strsv_rank_1 | ( | type(c_ptr) | handle, |
| integer(kind(rocblas_fill_upper)) | uplo, | ||
| integer(kind(rocblas_operation_none)) | transa, | ||
| 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 | x, | ||
| integer(c_int) | incx | ||
| ) |
The documentation for this interface was generated from the following file: