TRMM  Triangular matrixmatrix multiplication¶

pyclblas.
clblasCtrmm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasCtrmm
Multiplying a matrix by a triangular matrix with float complex elements. Extended version. Matrixtriangular matrix products:
 ( B ← α A B )
 ( B ← α A^{T}B )
 ( B ← α B A )
 ( 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.
clblasDtrmm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasDtrmm
Multiplying a matrix by a triangular matrix with double elements. Extended version. Matrixtriangular matrix products:
 ( B ← α A B )
 ( B ← α A^{T}B )
 ( B ← α B A )
 ( 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 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.
clblasStrmm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasStrmm
Multiplying a matrix by a triangular matrix with float elements. Extended version. Matrixtriangular matrix products:
 ( B ← α A B )
 ( B ← α A^{T}B )
 ( B ← α B A )
 ( 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 not 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.
clblasZtrmm
(order, side, uplo, transA, diag, M, N, alpha, A, offA, lda, B, offB, ldb, commandQueues, eventWaitList)¶ wraps: clblasZtrmm
Multiplying a matrix by a triangular matrix with double complex elements. Extended version. Matrixtriangular matrix products:
 ( B ← α A B )
 ( B ← α A^{T}B )
 ( B ← α B A )
 ( 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.