cuquantum.cutensornet.workspace_purge_cache

cuquantum.cutensornet.workspace_purge_cache(intptr_t handle, intptr_t work_desc, int mem_space)[source]

Purges the cached data in the specified memory space.

Parameters
  • handle (intptr_t) – Opaque handle holding cuTensorNet’s library context.

  • work_desc (intptr_t) – Opaque structure describing the workspace.

  • mem_space (Memspace) – The memory space where the workspace is allocated.