SYMV - Symmetric matrix-Vector multiplication

pyclblas.clblasDsymv(order, uplo, N, alpha, A, offA, lda, x, offx, incx, beta, y, offy, incy, commandQueues, eventWaitList)

wraps: clblasDsymv

Matrix-vector product with a symmetric matrix and double 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 A.
  • alpha (float [in]) – The factor of matrix A.
  • A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
  • offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
  • lda (int [in]) – Leading dimension of matrix A. It cannot less than N.
  • 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 (float [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.clblasSsymv(order, uplo, N, alpha, A, offA, lda, x, offx, incx, beta, y, offy, incy, commandQueues, eventWaitList)

wraps: clblasSsymv

Matrix-vector product with a symmetric matrix and float 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 A.
  • alpha (float [in]) – The factor of matrix A.
  • A (pyopencl.Buffer [in]) – Buffer object storing matrix A.
  • offA (int [in]) – Offset of the first element of the matrix A in the buffer object. Counted in elements.
  • lda (int [in]) – Leading dimension of matrix A. It cannot less than N.
  • 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 (float [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.