Expand description
DeviceActor (outer tier) + ContextActor (inner tier) — §5.11.
Re-exports§
pub use device_actor::DeviceActor;pub use device_actor::DeviceConfig;pub use device_actor::DeviceMsg;pub use device_actor::EnabledLibraries;pub use device_actor::KernelChildren;pub use device_actor::SgemmRequest;pub use device_actor::WorkRequest;
Modules§
- device_
actor DeviceActor— the outer tier of the §5.11 two-tier supervision tree.
Structs§
- Alloc
Req - Concrete typed allocation request. Held inside a
Box<dyn AllocDispatch>while in flight. - Context
Actor - Copy
From Host Req - Copy
ToHost Req - Device
Load - Per-device load snapshot returned by [
DeviceMsg::Stats]. Used by the F5crate::placement::PlacementActorfor least-loaded scheduling. - Device
State
Enums§
- Context
Msg - HostBuf
- Host-side buffer surface. Owned
Vec<T>for low-volume convenience;PinnedBuf<T>for async-overlappable transfers sourced from acrate::host::PinnedBufferPool.
Traits§
- Alloc
Dispatch - Trait object the DeviceActor stashes inside a single
crate::device::DeviceMsg::Allocvariant. The actualTis erased at the box boundary; the receiving ContextActor callsAllocDispatch::runwhich downcasts back into the concreteAllocReq<T>and performs a typedstream.alloc_zeros::<T>(len). - Copy
From Host Dispatch - Trait object behind
crate::device::DeviceMsg::CopyFromHost. - Copy
ToHost Dispatch - Trait object behind
crate::device::DeviceMsg::CopyToHost. Carries the typed sourceGpuRef<T>plus host destination buffer.