pub enum RecordedCommand {
MemoryCopy {
dst: u64,
src: u64,
bytes: u64,
},
MemoryFill {
dst: u64,
bytes: u64,
pattern_len: u32,
},
LaunchKernel {
kernel: String,
groups: GroupCount,
signal_event: Option<u32>,
},
Barrier(Barrier),
}Expand description
A single command appended into a CommandListRecorder.
Variants§
MemoryCopy
zeCommandListAppendMemoryCopy of bytes bytes from src→dst handles.
Fields
MemoryFill
zeCommandListAppendMemoryFill writing pattern_len-byte pattern.
Fields
LaunchKernel
zeCommandListAppendLaunchKernel with a name and launch grid.
Fields
§
groups: GroupCountThe launch grid.
Barrier(Barrier)
zeCommandListAppendBarrier.
Trait Implementations§
Source§impl Clone for RecordedCommand
impl Clone for RecordedCommand
Source§fn clone(&self) -> RecordedCommand
fn clone(&self) -> RecordedCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecordedCommand
impl Debug for RecordedCommand
impl Eq for RecordedCommand
Source§impl PartialEq for RecordedCommand
impl PartialEq for RecordedCommand
Source§fn eq(&self, other: &RecordedCommand) -> bool
fn eq(&self, other: &RecordedCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordedCommand
Auto Trait Implementations§
impl Freeze for RecordedCommand
impl RefUnwindSafe for RecordedCommand
impl Send for RecordedCommand
impl Sync for RecordedCommand
impl Unpin for RecordedCommand
impl UnsafeUnpin for RecordedCommand
impl UnwindSafe for RecordedCommand
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