HPMV - Hermitian packed matrix-vector multiplication

pyclblas.clblasChpmv(order, uplo, N, alpha, AP, offa, X, offx, incx, beta, Y, offy, incy, commandQueues, eventWaitList)

wraps: clblasChpmv

Matrix-vector product with a packed hermitian matrix and float-complex elements. Matrix-vector products:

  • ( Y ← α A X + β Y )
Parameters:
  • order (clblasOrder [in]) – Row/columns order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • N (int [in]) – Number of rows and columns in matrix AP.
  • alpha (complex [in]) – The factor of matrix AP.
  • AP (pyopencl.Buffer [in]) – Buffer object storing packed matrix AP.
  • offa (int [in]) – Offset in number of elements for first element in matrix AP.
  • X (pyopencl.Buffer [in]) – Buffer object storing vector X.
  • offx (int [in]) – Offset of first element of vector X in buffer object. Counted in elements.
  • incx (int [in]) – Increment for the elements of vector X. It cannot be zero.
  • beta (complex [in]) – The factor of vector Y.
  • Y (pyopencl.Buffer [out]) – Buffer object storing vector Y.
  • offy (int [in]) – Offset of first element of vector Y in buffer object. Counted in elements.
  • incy (int [in]) – Increment for the elements of vector Y. It cannot be zero.
  • 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.clblasZhpmv(order, uplo, N, alpha, AP, offa, X, offx, incx, beta, Y, offy, incy, commandQueues, eventWaitList)

wraps: clblasZhpmv

Matrix-vector product with a packed hermitian matrix and double-complex elements. Matrix-vector products:

  • ( Y ← α A X + β Y )
Parameters:
  • order (clblasOrder [in]) – Row/columns order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • N (int [in]) – Number of rows and columns in matrix AP.
  • alpha (complex [in]) – The factor of matrix AP.
  • AP (pyopencl.Buffer [in]) – Buffer object storing packed matrix AP.
  • offa (int [in]) – Offset in number of elements for first element in matrix AP.
  • X (pyopencl.Buffer [in]) – Buffer object storing vector X.
  • offx (int [in]) – Offset of first element of vector X in buffer object. Counted in elements.
  • incx (int [in]) – Increment for the elements of vector X. It cannot be zero.
  • beta (complex [in]) – The factor of vector Y.
  • Y (pyopencl.Buffer [out]) – Buffer object storing vector Y.
  • offy (int [in]) – Offset of first element of vector Y in buffer object. Counted in elements.
  • incy (int [in]) – Increment for the elements of vector Y. It cannot be zero.
  • 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.