HBMV - Hermitian banded matrix-vector multiplication¶
-
pyclblas.
clblasChbmv
(order, uplo, N, K, alpha, A, offa, lda, X, offx, incx, beta, Y, offy, incy, commandQueues, eventWaitList)¶ wraps: clblasChbmv
Matrix-vector product with a hermitian banded matrix and float elements. Matrix-vector products:
- ( Y ← α A X + β Y )
Parameters: - order (clblasOrder [in]) – Row/columns order.
- uplo (clblasUplo [in]) – The triangle in matrix being referenced.
- N (int [in]) – Number of rows and columns in banded matrix A.
- K (int [in]) – Number of sub-diagonals/super-diagonals in banded matrix A.
- alpha (complex [in]) – The factor of matrix A.
- A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
- offa (int [in]) – Offset in number of elements for first element in matrix A.
- lda (int [in]) – Leading dimension of matrix A. It cannot be less than ( K + 1 ).
- X (pyopencl.Buffer [in]) – Buffer object storing vector X.
- offx (int [in]) – Offset of first element of vector X in buffer object. Counted in elements.
- incx (int [in]) – Increment for the elements of vector X. It cannot be zero.
- beta (complex [in]) – The factor of vector Y.
- Y (pyopencl.Buffer [out]) – Buffer object storing vector Y.
- offy (int [in]) – Offset of first element of vector Y in buffer object. Counted in elements.
- incy (int [in]) – Increment for the elements of vector Y. It cannot be zero.
- commandQueues (pyopencl.CommandQueue [in]) – OpenCL command queues. A list, tuple, or single instance of pyopencl.CommandQueue. Must not be None.
- eventWaitList (pyopencl.Event [in]) – Event wait list. A list, tuple, or single instance of pyopencl.Event. May be None.
Returns: A tuple of pyopencl.Event instances, one for each commandQueue supplied.
-
pyclblas.
clblasZhbmv
(order, uplo, N, K, alpha, A, offa, lda, X, offx, incx, beta, Y, offy, incy, commandQueues, eventWaitList)¶ wraps: clblasZhbmv
Matrix-vector product with a hermitian banded matrix and double elements. Matrix-vector products:
- ( Y ← α A X + β Y )
Parameters: - order (clblasOrder [in]) – Row/columns order.
- uplo (clblasUplo [in]) – The triangle in matrix being referenced.
- N (int [in]) – Number of rows and columns in banded matrix A.
- K (int [in]) – Number of sub-diagonals/super-diagonals in banded matrix A.
- alpha (complex [in]) – The factor of matrix A.
- A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
- offa (int [in]) – Offset in number of elements for first element in matrix A.
- lda (int [in]) – Leading dimension of matrix A. It cannot be less than ( K + 1 ).
- X (pyopencl.Buffer [in]) – Buffer object storing vector X.
- offx (int [in]) – Offset of first element of vector X in buffer object. Counted in elements.
- incx (int [in]) – Increment for the elements of vector X. It cannot be zero.
- beta (complex [in]) – The factor of vector Y.
- Y (pyopencl.Buffer [out]) – Buffer object storing vector Y.
- offy (int [in]) – Offset of first element of vector Y in buffer object. Counted in elements.
- incy (int [in]) – Increment for the elements of vector Y. It cannot be zero.
- commandQueues (pyopencl.CommandQueue [in]) – OpenCL command queues. A list, tuple, or single instance of pyopencl.CommandQueue. Must not be None.
- eventWaitList (pyopencl.Event [in]) – Event wait list. A list, tuple, or single instance of pyopencl.Event. May be None.
Returns: A tuple of pyopencl.Event instances, one for each commandQueue supplied.