How can I interact with NVIDIA's JIT compilation cache?

319 Views Asked by At

(Following Is NVIDIA's JIT compilation cache used when you don't use NVCC?)

NVIDIA's JIT compilation cache (which we find in ~/.nv/CompilationCache on Linux systems) has a somewhat opaque structure, with a non-textual index. I would like to be able to interact with, or manipulate, this cache:

  • Parse the index.
  • Determine if my program/kernel/PTX/etc is cached.
  • Read the cached data (e.g. as a cubin or some other way)
  • Add a new entry to the cache.

Is that possible (without reverse-engineering)?

0

There are 0 best solutions below