pub enum Park {
Block,
QueryPoll,
FlagWait {
park_ns: u64,
backstop_ns: u64,
},
}Expand description
How the rest of a wait is spent.
Variants§
Block
The vendor’s blocking wait (CUDA: cuStreamSynchronize).
QueryPoll
Poll the status until it reports done.
FlagWait
Park on a word the device writes behind the work; query the status every backstop_ns.
Implementations§
Trait Implementations§
impl Copy for Park
impl Eq for Park
impl StructuralPartialEq for Park
Auto Trait Implementations§
impl Forget for Park
impl Freeze for Park
impl Move for Park
impl RefUnwindSafe for Park
impl Send for Park
impl Sync for Park
impl Unpin for Park
impl UnsafeUnpin for Park
impl UnwindSafe for Park
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