TRSM  Solving triangular systems of equations¶

pyclblas.
clblasCtrsm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasCtrsm
Solving triangular systems of equations with multiple righthand sides and float complex elements. Extended version. Solving triangular systems of equations:
 ( B ← α A^{1}B )
 ( B ← α A^{T} B )
 ( B ← α B A^{1})
 ( B ← α B A^{T} )
where T is an upper or lower triangular matrix.Parameters:  order (clblasOrder [in]) – Row/column order.
 side (clblasSide [in]) – The side of triangular matrix.
 uplo (clblasUplo [in]) – The triangle in matrix being referenced.
 transA (clblasTranspose [in]) – How matrix A is to be transposed.
 diag (clblasDiag [in]) – Specify whether matrix is unit triangular.
 M (int [in]) – Number of rows in matrix B.
 N (int [in]) – Number of columns in matrix B.
 alpha (complex [in]) – The factor of matrix A.
 A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
 offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
 lda (int [in]) – Leading dimension of matrix A.
 B (pyopencl.Buffer [out]) – Buffer object storing matrix B.
 offB (int [in]) – Offset of the first element of the matrix B in the buffer object. Counted in elements.
 ldb (int [in]) – Leading dimension of matrix B.
 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.
clblasDtrsm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasDtrsm
Solving triangular systems of equations with multiple righthand sides and double elements. Extended version. <dl class=”section note”> <dt> Note </dt> <dd> This function is not threadsafe. </dd> </dl> Solving triangular systems of equations:
 ( B ← α A^{1}B )
 ( B ← α A^{T} B )
 ( B ← α B A^{1})
 ( B ← α B A^{T} )
where T is an upper or lower triangular matrix.Parameters:  order (clblasOrder [in]) – Row/column order.
 side (clblasSide [in]) – The side of triangular matrix.
 uplo (clblasUplo [in]) – The triangle in matrix being referenced.
 transA (clblasTranspose [in]) – How matrix A is to be transposed.
 diag (clblasDiag [in]) – Specify whether matrix is unit triangular.
 M (int [in]) – Number of rows in matrix B.
 N (int [in]) – Number of columns in matrix B.
 alpha (float [in]) – The factor of matrix A.
 A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
 offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
 lda (int [in]) – Leading dimension of matrix A.
 B (pyopencl.Buffer [out]) – Buffer object storing matrix B.
 offB (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
 ldb (int [in]) – Leading dimension of matrix B.
 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.
clblasStrsm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasStrsm
Solving triangular systems of equations with multiple righthand sides and float elements. Extended version. <dl class=”section note”> <dt> Note </dt> <dd> This function is not threadsafe. </dd> </dl> Solving triangular systems of equations:
 ( B ← α A^{1}B )
 ( B ← α A^{T} B )
 ( B ← α B A^{1})
 ( B ← α B A^{T} )
where T is an upper or lower triangular matrix.Parameters:  order (clblasOrder [in]) – Row/column order.
 side (clblasSide [in]) – The side of triangular matrix.
 uplo (clblasUplo [in]) – The triangle in matrix being referenced.
 transA (clblasTranspose [in]) – How matrix A is to be transposed.
 diag (clblasDiag [in]) – Specify whether matrix is unit triangular.
 M (int [in]) – Number of rows in matrix B.
 N (int [in]) – Number of columns in matrix B.
 alpha (float [in]) – The factor of matrix A.
 A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
 offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
 lda (int [in]) – Leading dimension of matrix A. It cannot be less than M when the side parameter is set to clblasLeft, or less than N when it is set to clblasRight.
 B (pyopencl.Buffer [out]) – Buffer object storing matrix B.
 offB (int [in]) – Offset of the first element of the matrix B in the buffer object. Counted in elements.
 ldb (int [in]) – Leading dimension of matrix B. It cannot be less than N when the order parameter is set to clblasRowMajor, or less than M when it is set to clblasColumnMajor.
 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.
clblasZtrsm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasZtrsm
Solving triangular systems of equations with multiple righthand sides and double complex elements. Extended version. Solving triangular systems of equations:
 ( B ← α A^{1}B )
 ( B ← α A^{T} B )
 ( B ← α B A^{1})
 ( B ← α B A^{T} )
where T is an upper or lower triangular matrix.Parameters:  order (clblasOrder [in]) – Row/column order.
 side (clblasSide [in]) – The side of triangular matrix.
 uplo (clblasUplo [in]) – The triangle in matrix being referenced.
 transA (clblasTranspose [in]) – How matrix A is to be transposed.
 diag (clblasDiag [in]) – Specify whether matrix is unit triangular.
 M (int [in]) – Number of rows in matrix B.
 N (int [in]) – Number of columns in matrix B.
 alpha (complex [in]) – The factor of matrix A.
 A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
 offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
 lda (int [in]) – Leading dimension of matrix A.
 B (pyopencl.Buffer [out]) – Buffer object storing matrix B.
 offB (int [in]) – Offset of the first element of the matrix B in the buffer object. Counted in elements.
 ldb (int [in]) – Leading dimension of matrix B.
 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.