Enum hip_sys::hiprt::hipGraphNodeType
source · #[non_exhaustive]#[repr(u32)]pub enum hipGraphNodeType {
Show 13 variants
hipGraphNodeTypeKernel,
hipGraphNodeTypeMemcpy,
hipGraphNodeTypeMemset,
hipGraphNodeTypeHost,
hipGraphNodeTypeGraph,
hipGraphNodeTypeEmpty,
hipGraphNodeTypeWaitEvent,
hipGraphNodeTypeEventRecord,
hipGraphNodeTypeExtSemaphoreSignal,
hipGraphNodeTypeExtSemaphoreWait,
hipGraphNodeTypeMemcpyFromSymbol,
hipGraphNodeTypeMemcpyToSymbol,
hipGraphNodeTypeCount,
}Expand description
@brief hipGraphNodeType @enum
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
hipGraphNodeTypeKernel
< GPU kernel node
hipGraphNodeTypeMemcpy
< Memcpy node
hipGraphNodeTypeMemset
< Memset node
hipGraphNodeTypeHost
< Host (executable) node
hipGraphNodeTypeGraph
< Node which executes an embedded graph
hipGraphNodeTypeEmpty
< Empty (no-op) node
hipGraphNodeTypeWaitEvent
< External event wait node
hipGraphNodeTypeEventRecord
< External event record node
hipGraphNodeTypeExtSemaphoreSignal
< External Semaphore signal node
hipGraphNodeTypeExtSemaphoreWait
< External Semaphore wait node
hipGraphNodeTypeMemcpyFromSymbol
< MemcpyFromSymbol node
hipGraphNodeTypeMemcpyToSymbol
< MemcpyToSymbol node
hipGraphNodeTypeCount
Trait Implementations§
source§impl Clone for hipGraphNodeType
impl Clone for hipGraphNodeType
source§fn clone(&self) -> hipGraphNodeType
fn clone(&self) -> hipGraphNodeType
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 hipGraphNodeType
impl Debug for hipGraphNodeType
source§impl Hash for hipGraphNodeType
impl Hash for hipGraphNodeType
source§impl Ord for hipGraphNodeType
impl Ord for hipGraphNodeType
source§fn cmp(&self, other: &hipGraphNodeType) -> Ordering
fn cmp(&self, other: &hipGraphNodeType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<hipGraphNodeType> for hipGraphNodeType
impl PartialEq<hipGraphNodeType> for hipGraphNodeType
source§fn eq(&self, other: &hipGraphNodeType) -> bool
fn eq(&self, other: &hipGraphNodeType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipGraphNodeType> for hipGraphNodeType
impl PartialOrd<hipGraphNodeType> for hipGraphNodeType
source§fn partial_cmp(&self, other: &hipGraphNodeType) -> Option<Ordering>
fn partial_cmp(&self, other: &hipGraphNodeType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for hipGraphNodeType
impl Eq for hipGraphNodeType
impl StructuralEq for hipGraphNodeType
impl StructuralPartialEq for hipGraphNodeType
Auto Trait Implementations§
impl RefUnwindSafe for hipGraphNodeType
impl Send for hipGraphNodeType
impl Sync for hipGraphNodeType
impl Unpin for hipGraphNodeType
impl UnwindSafe for hipGraphNodeType
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