HER2 - Hermitian rank 2 update

pyclblas.clblasCher2(order, uplo, N, alpha, X, offx, incx, Y, offy, incy, A, offa, lda, commandQueues, eventWaitList)

wraps: clblasCher2

Hermitian rank 2 operation with a general triangular matrix and float-compelx elements. Hermitian rank 2 operation:

  • ( A ← α X YH+ conj{ α } Y XH+ A )
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • N (int [in]) – Number of columns in matrix A.
  • alpha (complex [in]) – The factor of matrix A.
  • 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.
  • 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.
  • 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.clblasZher2(order, uplo, N, alpha, X, offx, incx, Y, offy, incy, A, offa, lda, commandQueues, eventWaitList)

wraps: clblasZher2

Hermitian rank 2 operation with a general triangular matrix and double-compelx elements. Hermitian rank 2 operation:

  • ( A ← α X YH+ conj{ α } Y XH+ A )
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • N (int [in]) – Number of columns in matrix A.
  • alpha (complex [in]) – The factor of matrix A.
  • 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.
  • 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.
  • 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.