TRMV - Triangular matrix vector multiply¶
-
pyclblas.
clblasCtrmv
(order, uplo, trans, diag, N, A, offa, lda, X, offx, incx, scratchBuff, commandQueues, eventWaitList)¶ wraps: clblasCtrmv
Matrix-vector product with a triangular matrix and float complex elements. Matrix-vector products:
- ( X ← A X )
- ( X ← ATX )
Parameters: - order (clblasOrder [in]) – Row/column order.
- uplo (clblasUplo [in]) – The triangle in matrix being referenced.
- trans (clblasTranspose [in]) – How matrix A is to be transposed.
- diag (clblasDiag [in]) – Specify whether matrix A is unit triangular.
- N (int [in]) – Number of rows/columns in 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 N.
- X (pyopencl.Buffer [out]) – Buffer object storing vector X.
- offx (int [in]) – Offset in number of elements for first element in vector X.
- incx (int [in]) – Increment for the elements of X. Must not be zero.
- scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
- 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.
clblasDtrmv
(order, uplo, trans, diag, N, A, offa, lda, X, offx, incx, scratchBuff, commandQueues, eventWaitList)¶ wraps: clblasDtrmv
Matrix-vector product with a triangular matrix and double elements. Matrix-vector products:
- ( X ← A X )
- ( X ← ATX )
Parameters: - order (clblasOrder [in]) – Row/column order.
- uplo (clblasUplo [in]) – The triangle in matrix being referenced.
- trans (clblasTranspose [in]) – How matrix A is to be transposed.
- diag (clblasDiag [in]) – Specify whether matrix A is unit triangular.
- N (int [in]) – Number of rows/columns in 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 N.
- X (pyopencl.Buffer [out]) – Buffer object storing vector X.
- offx (int [in]) – Offset in number of elements for first element in vector X.
- incx (int [in]) – Increment for the elements of X. Must not be zero.
- scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
- 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.
clblasStrmv
(order, uplo, trans, diag, N, A, offa, lda, X, offx, incx, scratchBuff, commandQueues, eventWaitList)¶ wraps: clblasStrmv
Matrix-vector product with a triangular matrix and float elements. Matrix-vector products:
- ( X ← A X )
- ( X ← ATX )
Parameters: - order (clblasOrder [in]) – Row/column order.
- uplo (clblasUplo [in]) – The triangle in matrix being referenced.
- trans (clblasTranspose [in]) – How matrix A is to be transposed.
- diag (clblasDiag [in]) – Specify whether matrix A is unit triangular.
- N (int [in]) – Number of rows/columns in 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 N.
- X (pyopencl.Buffer [out]) – Buffer object storing vector X.
- offx (int [in]) – Offset in number of elements for first element in vector X.
- incx (int [in]) – Increment for the elements of X. Must not be zero.
- scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
- 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.
clblasZtrmv
(order, uplo, trans, diag, N, A, offa, lda, X, offx, incx, scratchBuff, commandQueues, eventWaitList)¶ wraps: clblasZtrmv
Matrix-vector product with a triangular matrix and double complex elements. Matrix-vector products:
- ( X ← A X )
- ( X ← ATX )
Parameters: - order (clblasOrder [in]) – Row/column order.
- uplo (clblasUplo [in]) – The triangle in matrix being referenced.
- trans (clblasTranspose [in]) – How matrix A is to be transposed.
- diag (clblasDiag [in]) – Specify whether matrix A is unit triangular.
- N (int [in]) – Number of rows/columns in 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 N.
- X (pyopencl.Buffer [out]) – Buffer object storing vector X.
- offx (int [in]) – Offset in number of elements for first element in vector X.
- incx (int [in]) – Increment for the elements of X. Must not be zero.
- scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
- 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.