rocblas_stpsv_batched Interface Reference#
hipfort_rocblas::rocblas_stpsv_batched Interface Reference
BLAS Level 2 API. More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_stpsv_batched_ (handle, uplo, transa, diag, n, ap, x, incx, batch_count) |
Detailed Description
BLAS Level 2 API.
The tpsv_batched functions solve:
A_i*x_i = b_i or A_i**T*x_i = b_i or A_i**H*x_i = b_i
where x_i and b_i are vectors and A_i is a triangular matrix stored in the packed format, for i in [1, batch_count].
The input vectors b_i are overwritten by the output vectors x_i.
- Parameters
-
[in] handle - [rocblas_handle] handle to the rocBLAS library context queue. [in] uplo - [rocblas_fill] - rocblas_fill_upper: each A_i is an upper triangular matrix.
- rocblas_fill_lower: each A_i 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: Each A_i is assumed to be unit triangular (the diagonal elements of each A_i are not used in computations).
- rocblas_diagonal_non_unit: each A_i is not assumed to be unit triangular.
[in] n - [rocblas_int] n specifies the number of rows of each b_i. n >= 0. [in] AP - device array of device pointers storing the packed versions of each matrix A_i, of dimension >= (n * (n + 1) / 2). [in,out] x - device array of device pointers storing each input vector b_i, overwritten by x_i on output. [in] incx - [rocblas_int] specifies the increment for the elements of each x_i. [in] batch_count - [rocblas_int] specifies the number of instances in the batch.
Member Function/Subroutine Documentation
◆ rocblas_stpsv_batched_()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpsv_batched::rocblas_stpsv_batched_ | ( | 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, | ||
| integer(c_int), value | batch_count | ||
| ) |
The documentation for this interface was generated from the following file: