pub(crate) mod cache_key;
mod capacity_accounting;
pub(crate) mod driver_module;
mod module_registry;
mod ptx_disk_cache;
mod ptx_source_cache;
pub(crate) use cache_key::{ModuleCacheKey, PtxSourceCacheKey};
pub(crate) use driver_module::{load_cuda_module_data, unload_cuda_module};
pub(crate) use module_registry::CudaModuleCache;
pub(crate) use ptx_source_cache::CudaPtxSourceCache;
#[derive(Clone, Copy, Debug, Default, Eq, PartialEq)]
pub struct CudaPtxSourceCacheSnapshot {
pub entries: usize,
pub cached_source_bytes: usize,
pub hits: u64,
pub misses: u64,
}