pub enum PlacementStrategy {
SingleDevice,
RoundRobin,
CostBased,
MinimizeTransfer,
Custom,
}Expand description
Placement strategy for multi-device execution
Variants§
SingleDevice
Place all operations on a single device
RoundRobin
Round-robin placement across devices
CostBased
Place based on operation cost
MinimizeTransfer
Place to minimize data transfer
Custom
Custom placement via callback
Trait Implementations§
Source§impl Clone for PlacementStrategy
impl Clone for PlacementStrategy
Source§fn clone(&self) -> PlacementStrategy
fn clone(&self) -> PlacementStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlacementStrategy
impl Debug for PlacementStrategy
Source§impl PartialEq for PlacementStrategy
impl PartialEq for PlacementStrategy
impl Copy for PlacementStrategy
impl Eq for PlacementStrategy
impl StructuralPartialEq for PlacementStrategy
Auto Trait Implementations§
impl Freeze for PlacementStrategy
impl RefUnwindSafe for PlacementStrategy
impl Send for PlacementStrategy
impl Sync for PlacementStrategy
impl Unpin for PlacementStrategy
impl UnwindSafe for PlacementStrategy
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