read_kernel_cache_from_file#

nvmath.bindings.cutensor.read_kernel_cache_from_file(intptr_t handle, filename)[source]#

Reads a kernel cache from file and adds all non-existing JIT compiled kernels to the kernel cache.

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

  • filename (str) – Specifies the filename (including the absolute path) to the file that holds all the cache information that have previously been written by cutensorWriteKernelCacheToFile.

See also

cutensorReadKernelCacheFromFile