ROTM - Apply modified givens rotation for points in the plane

pyclblas.clblasDrotm(N, X, offx, incx, Y, offy, incy, DPARAM, offDparam, commandQueues, eventWaitList)

wraps: clblasDrotm

modified givens rotation for double elements

Parameters:
  • N (int [in]) – Number of elements in vector X and Y.
  • X (pyopencl.Buffer [out]) – 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 X. Must not be zero.
  • Y (pyopencl.Buffer [out]) – Buffer object storing the 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 Y. Must not be zero.
  • DPARAM (pyopencl.Buffer [in]) – Buffer object that contains SPARAM array of minimum length 5 DPARAM(1)=DFLAG DPARAM(2)=DH11 DPARAM(3)=DH21 DPARAM(4)=DH12 DPARAM(5)=DH22.
  • offDparam (int [in]) – Offset of first element of array DPARAM in buffer object. Counted in 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.clblasSrotm(N, X, offx, incx, Y, offy, incy, SPARAM, offSparam, commandQueues, eventWaitList)

wraps: clblasSrotm

modified givens rotation for float elements

Parameters:
  • N (int [in]) – Number of elements in vector X and Y.
  • X (pyopencl.Buffer [out]) – 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 X. Must not be zero.
  • Y (pyopencl.Buffer [out]) – Buffer object storing the 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 Y. Must not be zero.
  • SPARAM (pyopencl.Buffer [in]) – Buffer object that contains SPARAM array of minimum length 5 SPARAM(1)=SFLAG SPARAM(2)=SH11 SPARAM(3)=SH21 SPARAM(4)=SH12 SPARAM(5)=SH22.
  • offSparam (int [in]) – Offset of first element of array SPARAM in buffer object. Counted in 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.