pub struct YieldOperation<'c> { /* private fields */ }
Expand description
A yield
operation. GPU yield operation.
gpu.yield` is a special terminator operation for blocks inside regions in gpu ops. It returns values to the immediately enclosing gpu op.
Example:
gpu.yield %f0, %f1 : f32, f32
Implementations§
source§impl<'c> YieldOperation<'c>
impl<'c> YieldOperation<'c>
Trait Implementations§
source§impl<'c> From<YieldOperation<'c>> for Operation<'c>
impl<'c> From<YieldOperation<'c>> for Operation<'c>
source§fn from(operation: YieldOperation<'c>) -> Self
fn from(operation: YieldOperation<'c>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'c> RefUnwindSafe for YieldOperation<'c>
impl<'c> !Send for YieldOperation<'c>
impl<'c> !Sync for YieldOperation<'c>
impl<'c> Unpin for YieldOperation<'c>
impl<'c> UnwindSafe for YieldOperation<'c>
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