rocblas_stpmv_strided_batched Interface Reference#
hipfort_rocblas::rocblas_stpmv_strided_batched Interface Reference
BLAS Level 2 API. More...
Public Member Functions | |
| integer(kind(rocblas_status_success)) function | rocblas_stpmv_strided_batched_ (handle, uplo, transa, diag, n, a, stride_a, x, incx, stride_x, batch_count) |
| integer(kind(rocblas_status_success)) function | rocblas_stpmv_strided_batched_rank_0 (handle, uplo, transa, diag, n, a, stride_a, x, incx, stride_x, batch_count) |
| integer(kind(rocblas_status_success)) function | rocblas_stpmv_strided_batched_rank_1 (handle, uplo, transa, diag, n, a, stride_a, x, incx, stride_x, batch_count) |
Detailed Description
BLAS Level 2 API.
The tpmv_strided_batched functions perform one of the matrix-vector operations:
x_i = A_i*x_i or x_i = A_i**T*x_i or x_i = A_i**H*x_i, 0 < i < batch_count
where x_i is an n -element vector and A_i is an n by n (unit, or non-unit, upper or lower triangular) matrix with strides specifying how to retrieve $x_i$ (resp. $A_i$) from $x_{i-1}$ (resp. $A_i$ ). The vectors x_i are overwritten.
- Parameters
-
[in] handle - [rocblas_handle] handle to the rocBLAS library context queue. [in] uplo - [rocblas_fill] - rocblas_fill_upper: A_i is an upper triangular matrix.
- rocblas_fill_lower: A_i 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_i is assumed to be unit triangular.
- rocblas_diagonal_non_unit: A_i is not assumed to be unit triangular.
[in] n - [rocblas_int] n specifies the number of rows of matrices A_i. n >= 0. [in] A - device pointer to the matrix A_1 of the batch, of dimension ( lda, n ). If uplo == rocblas_fill_upper, the upper triangular part of the leading n-by-n array contains the matrix A_i. Otherwise, the lower triangular part of the leading n-by-n array contains the matrix A_i. [in] stride_A - [rocblas_stride] stride from the start of one A_i matrix to the next A_{i + 1}. [in,out] x - device pointer to the vector x_1 of the batch. On exit, each x_i is overwritten with the transformed vector x_i. [in] incx - [rocblas_int] specifies the increment for the elements of one vector x. [in] stride_x - [rocblas_stride] stride from the start of one x_i vector to the next x_{i + 1}. [in] batch_count - [rocblas_int] The number of batched matrices/vectors.
Member Function/Subroutine Documentation
◆ rocblas_stpmv_strided_batched_()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpmv_strided_batched::rocblas_stpmv_strided_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 | a, | ||
| integer(c_int64_t), value | stride_a, | ||
| type(c_ptr), value | x, | ||
| integer(c_int), value | incx, | ||
| integer(c_int64_t), value | stride_x, | ||
| integer(c_int), value | batch_count | ||
| ) |
◆ rocblas_stpmv_strided_batched_rank_0()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpmv_strided_batched::rocblas_stpmv_strided_batched_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_int64_t) | stride_a, | ||
| real(c_float), target | x, | ||
| integer(c_int) | incx, | ||
| integer(c_int64_t) | stride_x, | ||
| integer(c_int) | batch_count | ||
| ) |
◆ rocblas_stpmv_strided_batched_rank_1()
| integer(kind(rocblas_status_success)) function hipfort_rocblas::rocblas_stpmv_strided_batched::rocblas_stpmv_strided_batched_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_int64_t) | stride_a, | ||
| real(c_float), dimension(:), target | x, | ||
| integer(c_int) | incx, | ||
| integer(c_int64_t) | stride_x, | ||
| integer(c_int) | batch_count | ||
| ) |
The documentation for this interface was generated from the following file: