pub enum Compute {
Compute,
ComputeEnd,
}
Expand description
Operations related to VM compute execution.
Variants§
Compute
0x90
: COM
Hand off execution to compute threads until ComputeEnd operation is encountered. The computes read from a shared memory and write to their local memories, which are reconciled on thread join.
§Stack Input
[n_computes]
§Stack Output
[compute_index]
§Panics
- Recursion limit (1) is reached.
ComputeEnd
0x91
: COME
End of the execution of the compute program.
Trait Implementations§
Source§impl Ord for Compute
impl Ord for Compute
Source§impl PartialOrd for Compute
impl PartialOrd for Compute
Source§impl TryFromBytes for Compute
impl TryFromBytes for Compute
Source§type Error = FromBytesError
type Error = FromBytesError
Represents any error that might occur while parsing an op from bytes.
impl Copy for Compute
impl Eq for Compute
impl StructuralPartialEq for Compute
Auto Trait Implementations§
impl Freeze for Compute
impl RefUnwindSafe for Compute
impl Send for Compute
impl Sync for Compute
impl Unpin for Compute
impl UnwindSafe for Compute
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more