set_stream#

cuquantum.bindings.cupauliprop.set_stream(intptr_t handle, stream)[source]#

Sets the CUDA stream to be used for library operations.

Parameters:
  • handle (intptr_t) – Library handle.

  • stream (object) –

    CUDA stream to be used for library operations. It can be:

    • an int as the pointer address to the array, or

    • a Python sequence of intptr_t.