cuquantum.cutensornet.workspace_purge_cache

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

Purge the cached data in the specified memory space.

Parameters
  • handle (intptr_t) – The library handle.

  • workspace (intptr_t) – The workspace descriptor.

  • mem_space (Memspace) – The memory space for the workspace being queried.