rocblas_stpsv Interface Reference#
hipfort_rocblas::rocblas_stpsv Interface Reference
BLAS Level 2 API. More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_stpsv_ (handle, uplo, transa, diag, n, ap, x, incx) |
| integer(kind(rocblas_status_success)) function | rocblas_stpsv_rank_0 (handle, uplo, transa, diag, n, ap, x, incx) |
| integer(kind(rocblas_status_success)) function | rocblas_stpsv_rank_1 (handle, uplo, transa, diag, n, ap, x, incx) |
Detailed Description
BLAS Level 2 API.
The tpsv 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 stored in the packed format.
The input vector b is overwritten by the output vector x.
- 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: Solves A*x = b.
- rocblas_operation_transpose: Solves A**T*x = b.
- rocblas_operation_conjugate_transpose: Solves A**H*x = b.
[in] diag - [rocblas_diagonal] - rocblas_diagonal_unit: A is assumed to be unit triangular (the diagonal elements of A are not used in computations).
- 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] AP - device pointer storing the packed version of matrix A, of dimension >= (n * (n + 1) / 2). [in,out] x - device pointer storing vector b on input, overwritten by x on output. [in] incx - [rocblas_int] specifies the increment for the elements of x.
Member Function/Subroutine Documentation
◆ rocblas_stpsv_()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpsv::rocblas_stpsv_ | ( | 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 | ap, | ||
| type(c_ptr), value | x, | ||
| integer(c_int), value | incx | ||
| ) |
◆ rocblas_stpsv_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpsv::rocblas_stpsv_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 | ap, | ||
| real(c_float), target | x, | ||
| integer(c_int) | incx | ||
| ) |
◆ rocblas_stpsv_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpsv::rocblas_stpsv_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 | ap, | ||
| real(c_float), dimension(:), target | x, | ||
| integer(c_int) | incx | ||
| ) |
The documentation for this interface was generated from the following file: