cuquantum.custatevec.accessor_set_extra_workspace

cuquantum.custatevec.accessor_set_extra_workspace(intptr_t handle, intptr_t accessor, intptr_t workspace, size_t workspace_size)[source]

Set the external workspace to the accessor.

Parameters
  • handle (intptr_t) – The library handle.

  • accessor (intptr_t) – The accessor descriptor.

  • workspace (intptr_t) – The pointer address to the workspace (on device).

  • workspace_size (size_t) – The size of workspace (in bytes).