Skip to main content

cutensorMgDestroyContractionPlan

Function cutensorMgDestroyContractionPlan 

Source
pub unsafe extern "C" fn cutensorMgDestroyContractionPlan(
    plan: cutensorMgContractionPlan_t,
) -> cutensorStatus_t
Expand description

Destroy a contraction plan.

When called, all outstanding operations must be completed. Frees all associated resources.

Remark

non-blocking, no reentrant, and thread-safe.

ยงReturn value