hipGraphEdgeData Struct Reference#
#include <hip_runtime_api.h>
Data Fields | |
unsigned char | from_port |
unsigned char | reserved [5] |
These bytes are unused and must be zeroed. | |
unsigned char | to_port |
Currently no node types define non-zero ports. This field must be set to zero. | |
unsigned char | type |
This should be populated with a value from hipGraphDependencyType. | |
Field Documentation
◆ from_port
unsigned char hipGraphEdgeData::from_port |
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
unsigned char hipGraphEdgeData::reserved[5] |
These bytes are unused and must be zeroed.
◆ to_port
unsigned char hipGraphEdgeData::to_port |
Currently no node types define non-zero ports. This field must be set to zero.
◆ type
unsigned char hipGraphEdgeData::type |
This should be populated with a value from hipGraphDependencyType.
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hip/checkouts/latest/include/hip/hip_runtime_api.h