Skip to main content

cutensorPlanPreferenceGetAttribute

Function cutensorPlanPreferenceGetAttribute 

Source
pub unsafe extern "C" fn cutensorPlanPreferenceGetAttribute(
    handle: cutensorHandle_t,
    pref: cutensorPlanPreference_t,
    attr: cutensorPlanPreferenceAttribute_t,
    buf: *mut c_void,
    sizeInBytes: size_t,
) -> cutensorStatus_t
Expand description

Get attribute of a cutensorPlanPreference_t object.

§Parameters

  • handle: Opaque handle holding cuTENSOR’s library context.
  • pref: This opaque struct restricts the search space of viable candidates.
  • attr: Requested attribute.
  • buf: On successful exit: Holds the information of the requested attribute.
  • sizeInBytes: Size of buf (in bytes); see cutensorPlanPreferenceAttribute_t for the exact size.

§Return value