Skip to main content

cuda_runtime_engine_registration

Function cuda_runtime_engine_registration 

Source
pub fn cuda_runtime_engine_registration(
    backend: &CudaBackend,
    engine_id: EngineId,
) -> Result<EngineRegistration, RuntimeConfigError>
Expand description

Build a runtime engine registration for a CudaBackend and caller-selected EngineId.

The registration exposes CUDA direct core preparation capabilities, CUDA extension-cache ownership hooks, and the runtime-owned tensor backend execution bridge. The caller owns the engine namespace and identity; CUDA does not provide a process-global engine ID.

ยงErrors

Returns RuntimeConfigError if the CUDA hardware/storage identifiers or provider/device identity fail validation, or if the registration is internally invalid.