pub fn shared_context() -> Result<&'static GpuContext>Expand description
Process-wide GpuContext, created on first use and reused thereafter.
ยงErrors
RefloxideError::Gpu when device acquisition failed; the failure is
cached so later calls fail fast instead of re-probing adapters.