reset_distributed_configuration#

cuquantum.bindings.cudensitymat.reset_distributed_configuration(
intptr_t handle,
int provider,
intptr_t comm_ptr,
size_t comm_size,
)[source]#

Resets the current distributed execution configuration associated with the given library context by importing a user-provided inter-process communicator (e.g., MPI_Comm).

Parameters:
  • handle (intptr_t) – Library handle.

  • provider (DistributedProvider) – Communication service provider.

  • comm_ptr (intptr_t) – Pointer to the communicator in a type-erased form.

  • comm_size (size_t) – Size of the communicator in bytes.