cuquantum.cutensornet.accessor_prepare¶
- cuquantum.cutensornet.accessor_prepare(intptr_t handle, intptr_t accessor, size_t max_workspace_size_device, intptr_t workspace, intptr_t stream)[source]¶
Prepares computation of the tensor network state accessor.
- Parameters
handle (intptr_t) – The library handle.
accessor (intptr_t) – The tensor network state accessor handle.
max_workspace_size_device (size_t) – The maximal device workspace size (in bytes) allowed for the accessor computation.
workspace (intptr_t) – The workspace descriptor.
stream (intptr_t) – The CUDA stream handle (
cudaStream_t
as Pythonint
).
See also