pub enum NodeKind {
Kernel {
name: String,
grid: [u32; 3],
block: [u32; 3],
},
Memcpy {
size: usize,
kind: MemcpyDirection,
},
Memset {
size: usize,
value: u8,
},
HostCallback {
name: String,
},
Empty,
}Expand description
Kind of work represented by a graph node
Variants§
Kernel
GPU kernel launch
Memcpy
Host-to-device or device-to-host memory copy
Memset
Memory set (fill with a value)
HostCallback
Host callback
Empty
Empty / synchronization-only node
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeKind
impl RefUnwindSafe for NodeKind
impl Send for NodeKind
impl Sync for NodeKind
impl Unpin for NodeKind
impl UnsafeUnpin for NodeKind
impl UnwindSafe for NodeKind
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