Skip to main content

cutensorHandleWritePlanCacheToFile

Function cutensorHandleWritePlanCacheToFile 

Source
pub unsafe extern "C" fn cutensorHandleWritePlanCacheToFile(
    handle: cutensorHandle_t,
    filename: *const c_char,
) -> cutensorStatus_t
Expand description

Writes the Plan-Cache (that belongs to the provided handle) to file.

Remark

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

§Parameters

  • handle: Opaque handle holding cuTENSOR’s library context.
  • filename: Specifies the filename (including the absolute path) to the file that should hold all the cache information. Warning: an existing file will be overwritten.

§Return value