#[repr(C)]pub struct hipGraphEdgeData {
pub from_port: c_uchar,
pub reserved: [c_uchar; 5],
pub to_port: c_uchar,
pub type_: c_uchar,
}
Fields§
§from_port: c_uchar
< This indicates when the dependency is triggered from the upstream node on the < edge. The meaning is specfic to the node type. A value of 0 in all cases < means full completion of the upstream node, with memory visibility to the < downstream node or portion thereof (indicated by to_port). Only kernel nodes < define non-zero ports. A kernel node can use the following output port types: < hipGraphKernelNodePortDefault, hipGraphKernelNodePortProgrammatic, or < hipGraphKernelNodePortLaunchCompletion.
reserved: [c_uchar; 5]
< These bytes are unused and must be zeroed
to_port: c_uchar
< Currently no node types define non-zero ports. This field must be set to zero.
type_: c_uchar
< This should be populated with a value from hipGraphDependencyType
Trait Implementations§
Source§impl Clone for hipGraphEdgeData
impl Clone for hipGraphEdgeData
Source§fn clone(&self) -> hipGraphEdgeData
fn clone(&self) -> hipGraphEdgeData
Returns a copy of the value. Read more
1.0.0 · 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 hipGraphEdgeData
impl Debug for hipGraphEdgeData
impl Copy for hipGraphEdgeData
Auto Trait Implementations§
impl Freeze for hipGraphEdgeData
impl RefUnwindSafe for hipGraphEdgeData
impl Send for hipGraphEdgeData
impl Sync for hipGraphEdgeData
impl Unpin for hipGraphEdgeData
impl UnwindSafe for hipGraphEdgeData
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