ROT - Apply givens rotation

pyclblas.clblasDrot(N, X, offx, incx, Y, offy, incy, C, S, commandQueues, eventWaitList)

wraps: clblasDrot

applies a plane 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.
  • C (float [in]) – C specifies the cosine, cos.
  • S (float [in]) – S specifies the sine, sin.
  • 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.clblasSrot(N, X, offx, incx, Y, offy, incy, C, S, commandQueues, eventWaitList)

wraps: clblasSrot

applies a plane 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.
  • C (float [in]) – C specifies the cosine, cos.
  • S (float [in]) – S specifies the sine, sin.
  • 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.clblasCsrot(N, X, offx, incx, Y, offy, incy, C, S, commandQueues, eventWaitList)

wraps: clblasCsrot

applies a plane rotation for float-complex 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.
  • C (float [in]) – C specifies the cosine, cos. This number is real.
  • S (float [in]) – S specifies the sine, sin. This number is real.
  • 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.clblasZdrot(N, X, offx, incx, Y, offy, incy, C, S, commandQueues, eventWaitList)

wraps: clblasZdrot

applies a plane rotation for double-complex 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.
  • C (float [in]) – C specifies the cosine, cos. This number is real.
  • S (float [in]) – S specifies the sine, sin. This number is real.
  • 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.