elementary_operator_attach_buffer#
-
cuquantum.
bindings. cudensitymat. elementary_operator_attach_buffer( - intptr_t handle,
- intptr_t elem_operator,
- intptr_t buffer,
- size_t buffer_size,
Attaches a buffer to the elementary tensor operator (either batched or non-batched).
- Parameters:
handle (intptr_t) – Library handle.
elem_operator (intptr_t) – Elementary tensor operator (either batched or non-batched).
buffer (intptr_t) – GPU-accessible pointer to the tensor operator elements storage.
buffer_size (size_t) – Size of the memory buffer in bytes.