GERC  General matrix rank 1 operation¶

pyclblas.
clblasCgerc
(order, M, N, alpha, X, offx, incx, Y, offy, incy, A, offa, lda, commandQueues, eventWaitList)¶ wraps: clblasCgerc
vectorvector product with float complex elements and performs the rank 1 operation A Vectorvector products:
 ( A ← α X Y^{H}+ A )
Parameters:  order (clblasOrder [in]) – Row/column order.
 M (int [in]) – Number of rows in matrix A.
 N (int [in]) – Number of columns in matrix A.
 alpha (complex [in]) – specifies the scalar alpha.
 X (pyopencl.Buffer [in]) – Buffer object storing vector X.
 offx (int [in]) – Offset in number of elements for the first element in vector X.
 incx (int [in]) – Increment for the elements of X. Must not be zero.
 Y (pyopencl.Buffer [in]) – Buffer object storing vector Y.
 offy (int [in]) – Offset in number of elements for the first element in vector Y.
 incy (int [in]) – Increment for the elements of Y. Must not be zero.
 A (pyopencl.Buffer [out]) – Buffer object storing matrix A. On exit, A is overwritten by the updated matrix.
 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 N when the order parameter is set to clblasRowMajor, or less than M when the parameter 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.
clblasZgerc
(order, M, N, alpha, X, offx, incx, Y, offy, incy, A, offa, lda, commandQueues, eventWaitList)¶ wraps: clblasZgerc
vectorvector product with double complex elements and performs the rank 1 operation A Vectorvector products:
 ( A ← α X Y^{H}+ A )
Parameters:  order (clblasOrder [in]) – Row/column order.
 M (int [in]) – Number of rows in matrix A.
 N (int [in]) – Number of columns in matrix A.
 alpha (complex [in]) – specifies the scalar alpha.
 X (pyopencl.Buffer [in]) – Buffer object storing vector X.
 offx (int [in]) – Offset in number of elements for the first element in vector X.
 incx (int [in]) – Increment for the elements of X. Must not be zero.
 Y (pyopencl.Buffer [in]) – Buffer object storing vector Y.
 offy (int [in]) – Offset in number of elements for the first element in vector Y.
 incy (int [in]) – Increment for the elements of Y. Must not be zero.
 A (pyopencl.Buffer [out]) – Buffer object storing matrix A. On exit, A is overwritten by the updated matrix.
 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 N when the order parameter is set to clblasRowMajor, or less than M when the parameter 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.