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
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