pub unsafe extern "C" fn cutensorMpPlanGetAttribute(
handle: cutensorMpHandle_t,
plan: cutensorMpPlan_t,
attribute: cutensorMpPlanAttribute_t,
buf: *mut c_void,
sizeInBytes: size_t,
) -> cutensorStatus_tExpand description
Retrieves information about an already-created plan (see cutensorPlanAttribute_t).
§Parameters
plan: Denotes an already-created plan (e.g., via cutensorMpCreatePlan).buf: On successful exit: Holds the information of the requested attribute.sizeInBytes: size ofbufin bytes.
§Return value
cutensorStatus_t::CUTENSOR_STATUS_INVALID_VALUE: if some input data is invalid (this typically indicates an user error).cutensorStatus_t::CUTENSOR_STATUS_SUCCESS: The operation completed successfully.