HPR - Hermitian packed matrix rank 1 update

pyclblas.clblasChpr(order, uplo, N, alpha, X, offx, incx, AP, offa, commandQueues, eventWaitList)

wraps: clblasChpr

hermitian rank 1 operation with a general triangular packed-matrix and float-complex elements. hermitian rank 1 operation:

  • ( A ← α X 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 (float [in]) – The factor of matrix A (a scalar float value).
  • 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.
  • AP (pyopencl.Buffer [out]) – Buffer object storing matrix AP.
  • offa (int [in]) – Offset in number of elements for the first element in matrix AP.
  • 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.clblasZhpr(order, uplo, N, alpha, X, offx, incx, AP, offa, commandQueues, eventWaitList)

wraps: clblasZhpr

hermitian rank 1 operation with a general triangular packed-matrix and double-complex elements. hermitian rank 1 operation:

  • ( A ← α X 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 (float [in]) – The factor of matrix A (a scalar float value).
  • 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.
  • AP (pyopencl.Buffer [out]) – Buffer object storing matrix AP.
  • offa (int [in]) – Offset in number of elements for the first element in matrix AP.
  • 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.