TPSV - Triangular packed matrix vector solve¶
-
pyclblas.
clblasCtpsv
(order, uplo, trans, diag, N, A, offa, X, offx, incx, commandQueues, eventWaitList)¶ wraps: clblasCtpsv
solving triangular packed matrix problems with float complex elements. Matrix-vector products:
- ( A X ← X )
- ( ATX ← X )
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 in packed format. A.
- offa (int [in]) – Offset in number of elements for first element in matrix A.
- 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.
- 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.
clblasDtpsv
(order, uplo, trans, diag, N, A, offa, X, offx, incx, commandQueues, eventWaitList)¶ wraps: clblasDtpsv
solving triangular packed matrix problems with double elements. Matrix-vector products:
- ( A X ← X )
- ( ATX ← X )
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 in packed format. A.
- offa (int [in]) – Offset in number of elements for first element in matrix A.
- 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.
- 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.
clblasStpsv
(order, uplo, trans, diag, N, A, offa, X, offx, incx, commandQueues, eventWaitList)¶ wraps: clblasStpsv
solving triangular packed matrix problems with float elements. Matrix-vector products:
- ( A X ← X )
- ( ATX ← X )
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 in packed format. A.
- offa (int [in]) – Offset in number of elements for first element in matrix A.
- 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.
- 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.
clblasZtpsv
(order, uplo, trans, diag, N, A, offa, X, offx, incx, commandQueues, eventWaitList)¶ wraps: clblasZtpsv
solving triangular packed matrix problems with double complex elements. Matrix-vector products:
- ( A X ← X )
- ( ATX ← X )
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 in packed format. A.
- offa (int [in]) – Offset in number of elements for first element in matrix A.
- 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.
- 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.