Expand description
2026-09-25: The process-scoped CUDA context and stream (CudaHost), and
release, which unloads one model’s crate::registry modules.
Owner: gpu-runtime. Invariants:
- The process has at most one
CudaHost, on the ordinal of the firsthostcall; a later call with another ordinal is an error, and a failed first creation is returned as the same error to every later call. releaseunloads nothing while anotherArcto the registry is live.
Structs§
- Cuda
Host - 2026-09-25: The CUDA context and stream for the process. Each model’s
MetraleRegistryloads its modules into this one context.
Functions§
- host
- 2026-09-25: Get, or on the first call create, the process CUDA host on
ordinal. The first call fixes the ordinal; asking for another is an error. - release
- 2026-09-25: Unload a model’s kernel modules. Errors, unloading nothing, while
another strong
Arcto the registry is live; otherwise drops every module the registry holds.