Enum burn_tensor::backend::SyncType
source · pub enum SyncType {
Flush,
Wait,
}
Expand description
What kind of synchronization to use.
Variants§
Flush
Submit all outstanding tasks to the task queue if any.
Wait
Submit all tasks to the task queue and wait for all of them to complete.
Trait Implementations§
impl Copy for SyncType
impl Eq for SyncType
impl StructuralPartialEq for SyncType
Auto Trait Implementations§
impl Freeze for SyncType
impl RefUnwindSafe for SyncType
impl Send for SyncType
impl Sync for SyncType
impl Unpin for SyncType
impl UnwindSafe for SyncType
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)