cuquantum.cutensornet.workspace_compute_sizes

cuquantum.cutensornet.workspace_compute_sizes(intptr_t handle, intptr_t tn_desc, intptr_t info, intptr_t workspace)[source]

Compute the required workspace sizes.

Parameters
  • handle (intptr_t) – The library handle.

  • tn_desc (intptr_t) – The tensor network descriptor.

  • info (intptr_t) – The optimizer info handle.

  • workspace (intptr_t) – The workspace descriptor.

Warning

This function is deprecated and will be removed in a future release. Use workspace_compute_contraction_sizes() instead.