Skip to main content

cutensorMpPlanGetAttribute

Function cutensorMpPlanGetAttribute 

Source
pub unsafe extern "C" fn cutensorMpPlanGetAttribute(
    handle: cutensorMpHandle_t,
    plan: cutensorMpPlan_t,
    attribute: cutensorMpPlanAttribute_t,
    buf: *mut c_void,
    sizeInBytes: size_t,
) -> cutensorStatus_t
Expand 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 of buf in bytes.

§Return value