[−][src]Struct arrayfire::Event
RAII construct to manage ArrayFire events
Sharing Across Threads
While sharing an Event with other threads, just move it across threads.
Implementations
impl Event
[src]
pub fn mark(&self)
[src]
Marks the event on the active computation queue.
If the event is enqueued/waited on later, any operations that are currently enqueued on the event queue will be completed before any events that are enqueued after the call to enqueue
pub fn enqueue_wait(&self)
[src]
Enqueues the event and all enqueued events on the active queue
All operations enqueued after a call to enqueue will not be executed until operations on the queue when mark was called are complete
pub fn block(&self)
[src]
Blocks the calling thread on events until all events on the computation stream before mark was called are complete
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,