TPMV - Triangular packed matrix-vector multiply

pyclblas.clblasCtpmv(order, uplo, trans, diag, N, AP, offa, X, offx, incx, scratchBuff, commandQueues, eventWaitList)

wraps: clblasCtpmv

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

  • ( X ← A X )
  • ( X ← ATX )
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • trans (clblasTranspose [in]) – How matrix AP is to be transposed.
  • diag (clblasDiag [in]) – Specify whether matrix AP is unit triangular.
  • N (int [in]) – Number of rows/columns in matrix AP.
  • AP (pyopencl.Buffer [in]) – Buffer object storing matrix AP in packed format.
  • offa (int [in]) – Offset in number of elements for first element in matrix AP.
  • X (pyopencl.Buffer [out]) – Buffer object storing vector X.
  • offx (int [in]) – Offset in number of elements for first element in vector X.
  • incx (int [in]) – Increment for the elements of X. Must not be zero.
  • scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
  • 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.clblasDtpmv(order, uplo, trans, diag, N, AP, offa, X, offx, incx, scratchBuff, commandQueues, eventWaitList)

wraps: clblasDtpmv

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

  • ( X ← A X )
  • ( X ← ATX )
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • trans (clblasTranspose [in]) – How matrix AP is to be transposed.
  • diag (clblasDiag [in]) – Specify whether matrix AP is unit triangular.
  • N (int [in]) – Number of rows/columns in matrix AP.
  • AP (pyopencl.Buffer [in]) – Buffer object storing matrix AP in packed format.
  • offa (int [in]) – Offset in number of elements for first element in matrix AP.
  • X (pyopencl.Buffer [out]) – Buffer object storing vector X.
  • offx (int [in]) – Offset in number of elements for first element in vector X.
  • incx (int [in]) – Increment for the elements of X. Must not be zero.
  • scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
  • 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.clblasStpmv(order, uplo, trans, diag, N, AP, offa, X, offx, incx, scratchBuff, commandQueues, eventWaitList)

wraps: clblasStpmv

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

  • ( X ← A X )
  • ( X ← ATX )
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • trans (clblasTranspose [in]) – How matrix AP is to be transposed.
  • diag (clblasDiag [in]) – Specify whether matrix AP is unit triangular.
  • N (int [in]) – Number of rows/columns in matrix A.
  • AP (pyopencl.Buffer [in]) – Buffer object storing matrix AP in packed format.
  • offa (int [in]) – Offset in number of elements for first element in matrix AP.
  • X (pyopencl.Buffer [out]) – Buffer object storing vector X.
  • offx (int [in]) – Offset in number of elements for first element in vector X.
  • incx (int [in]) – Increment for the elements of X. Must not be zero.
  • scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
  • 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.clblasZtpmv(order, uplo, trans, diag, N, AP, offa, X, offx, incx, scratchBuff, commandQueues, eventWaitList)

wraps: clblasZtpmv

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

  • ( X ← A X )
  • ( X ← ATX )
Parameters:
  • order (clblasOrder [in]) – Row/column order.
  • uplo (clblasUplo [in]) – The triangle in matrix being referenced.
  • trans (clblasTranspose [in]) – How matrix AP is to be transposed.
  • diag (clblasDiag [in]) – Specify whether matrix AP is unit triangular.
  • N (int [in]) – Number of rows/columns in matrix AP.
  • AP (pyopencl.Buffer [in]) – Buffer object storing matrix AP in packed format.
  • offa (int [in]) – Offset in number of elements for first element in matrix AP.
  • X (pyopencl.Buffer [out]) – Buffer object storing vector X.
  • offx (int [in]) – Offset in number of elements for first element in vector X.
  • incx (int [in]) – Increment for the elements of X. Must not be zero.
  • scratchBuff (pyopencl.Buffer [in]) – Temporary cl_mem scratch buffer object which can hold a minimum of (1 + (N-1)*abs(incx)) elements.
  • 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.