ROTMG - Constructs the modified givens rotation

pyclblas.clblasDrotmg(DD1, offDD1, DD2, offDD2, DX1, offDX1, DY1, offDY1, DPARAM, offDparam, commandQueues, eventWaitList)

wraps: clblasDrotmg

construct the modified givens rotation on double elements

Parameters:
  • DD1 (pyopencl.Buffer [out]) – Buffer object that contains DD1.
  • offDD1 (int [in]) – Offset to DD1 in DD1 buffer object. Counted in elements.
  • DD2 (pyopencl.Buffer [out]) – Buffer object that contains DD2.
  • offDD2 (int [in]) – Offset to DD2 in DD2 buffer object. Counted in elements.
  • DX1 (pyopencl.Buffer [out]) – Buffer object that contains DX1.
  • offDX1 (int [in]) – Offset to DX1 in DX1 buffer object. Counted in elements.
  • DY1 (pyopencl.Buffer [in]) – Buffer object that contains DY1.
  • offDY1 (int [in]) – Offset to DY1 in DY1 buffer object. Counted in elements.
  • DPARAM (pyopencl.Buffer [out]) – Buffer object that contains DPARAM array of minimum length 5 DPARAM(0) = DFLAG DPARAM(1) = DH11 DPARAM(2) = DH21 DPARAM(3) = DH12 DPARAM(4) = DH22.
  • offDparam (int [in]) – Offset to DPARAM in DPARAM 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.clblasSrotmg(SD1, offSD1, SD2, offSD2, SX1, offSX1, SY1, offSY1, SPARAM, offSparam, commandQueues, eventWaitList)

wraps: clblasSrotmg

construct the modified givens rotation on float elements

Parameters:
  • SD1 (pyopencl.Buffer [out]) – Buffer object that contains SD1.
  • offSD1 (int [in]) – Offset to SD1 in SD1 buffer object. Counted in elements.
  • SD2 (pyopencl.Buffer [out]) – Buffer object that contains SD2.
  • offSD2 (int [in]) – Offset to SD2 in SD2 buffer object. Counted in elements.
  • SX1 (pyopencl.Buffer [out]) – Buffer object that contains SX1.
  • offSX1 (int [in]) – Offset to SX1 in SX1 buffer object. Counted in elements.
  • SY1 (pyopencl.Buffer [in]) – Buffer object that contains SY1.
  • offSY1 (int [in]) – Offset to SY1 in SY1 buffer object. Counted in elements.
  • SPARAM (pyopencl.Buffer [out]) – Buffer object that contains SPARAM array of minimum length 5 SPARAM(0) = SFLAG SPARAM(1) = SH11 SPARAM(2) = SH21 SPARAM(3) = SH12 SPARAM(4) = SH22.
  • offSparam (int [in]) – Offset to SPARAM in SPARAM 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.