HER2K  Hermitian rank2k update to a matrix¶

pyclblas.
clblasCher2k
(order, uplo, trans, N, K, alpha, A, offa, lda, B, offb, ldb, beta, C, offc, ldc, commandQueues, eventWaitList)¶ wraps: clblasCher2k
Rank2k update of a hermitian matrix with floatcomplex elements. Rankk updates:
 ( C ← α A B^{H}+ conj( α ) B A^{H}+ β C )
 ( C ← α A^{H}B + conj( α ) B^{H}A + β C )
where C is a hermitian matrix.Parameters:  order (clblasOrder [in]) – Row/column order.
 uplo (clblasUplo [in]) – The triangle in matrix C being referenced.
 trans (clblasTranspose [in]) – How matrix A is to be transposed.
 N (int [in]) – Number of rows and columns in matrix C.
 K (int [in]) – Number of columns of the matrix A if it is not transposed, and number of rows otherwise.
 alpha (complex [in]) – The factor of matrix A.
 A (pyopencl.Buffer [in]) – Buffer object storing the matrix A.
 offa (int [in]) – Offset in number of elements for the first element in matrix A.
 lda (int [in]) – Leading dimension of matrix A. It cannot be less than K if A is in the rowmajor format, and less than N otherwise. Viceversa for transpose case.
 B (pyopencl.Buffer [in]) – Buffer object storing the matrix B.
 offb (int [in]) – Offset in number of elements for the first element in matrix B.
 ldb (int [in]) – Leading dimension of matrix B. It cannot be less than K if B is in the rowmajor format, and less than N otherwise. Viceversa for transpose case.
 beta (float [in]) – The factor of the matrix C.
 C (pyopencl.Buffer [out]) – Buffer object storing matrix C.
 offc (int [in]) – Offset in number of elements for the first element in matrix C.
 ldc (int [in]) – Leading dimension of matric C. It cannot be less than N.
 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.
clblasZher2k
(order, uplo, trans, N, K, alpha, A, offa, lda, B, offb, ldb, beta, C, offc, ldc, commandQueues, eventWaitList)¶ wraps: clblasZher2k
Rank2k update of a hermitian matrix with doublecomplex elements. Rankk updates:
 ( C ← α A B^{H}+ conj( α ) B A^{H}+ β C )
 ( C ← α A^{H}B + conj( α ) B^{H}A + β C )
where C is a hermitian matrix.Parameters:  order (clblasOrder [in]) – Row/column order.
 uplo (clblasUplo [in]) – The triangle in matrix C being referenced.
 trans (clblasTranspose [in]) – How matrix A is to be transposed.
 N (int [in]) – Number of rows and columns in matrix C.
 K (int [in]) – Number of columns of the matrix A if it is not transposed, and number of rows otherwise.
 alpha (complex [in]) – The factor of matrix A.
 A (pyopencl.Buffer [in]) – Buffer object storing the matrix A.
 offa (int [in]) – Offset in number of elements for the first element in matrix A.
 lda (int [in]) – Leading dimension of matrix A. It cannot be less than K if A is in the rowmajor format, and less than N otherwise. Viceversa for transpose case.
 B (pyopencl.Buffer [in]) – Buffer object storing the matrix B.
 offb (int [in]) – Offset in number of elements for the first element in matrix B.
 ldb (int [in]) – Leading dimension of matrix B. It cannot be less than K if B is in the rowmajor format, and less than N otherwise. Viceversa for transpose case.
 beta (float [in]) – The factor of the matrix C.
 C (pyopencl.Buffer [out]) – Buffer object storing matrix C.
 offc (int [in]) – Offset in number of elements for the first element in matrix C.
 ldc (int [in]) – Leading dimension of matric C. It cannot be less than N.
 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.