pub struct CudaHost {
pub ctx: Arc<CudaContext>,
pub stream: Arc<CudaStream>,
/* private fields */
}Expand description
2026-09-25: The CUDA context and stream for the process. Each model’s
MetraleRegistry loads its modules into this one context.
Fields§
§ctx: Arc<CudaContext>§stream: Arc<CudaStream>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CudaHost
impl RefUnwindSafe for CudaHost
impl Unpin for CudaHost
impl UnwindSafe for CudaHost
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more