Skip to main content

Module loader

Module loader 

Source
Expand description

The Runtime loader — parallels crate::Driver for the CUDA Runtime API.

libcudart does not expose a cuGetProcAddress-style entry-point resolver, so we resolve everything via plain dlsym. Symbols are cached in per-function OnceLocks exactly like the Driver loader.

Structs§

Runtime
Lazily-resolved CUDA Runtime API function-pointer table.

Functions§

runtime
Lazily-initialized process-wide Runtime singleton.