62 #ifndef _TIVX_EXT_SUPER_NODE_H_ 63 #define _TIVX_EXT_SUPER_NODE_H_ 76 #define TIVX_SUPER_NODE "tivx_super_node" 88 #define TIVX_TYPE_SUPER_NODE 0x818 90 #define TIVX_KERNEL_SUPERNODE VX_KERNEL_BASE(VX_ID_TI, TIVX_LIBRARY_EXTENSION_BASE) + 0x0 153 vx_node nodes[], uint32_t num_nodes);
203 const char* target_string);
Queries the status of the super node execution. Read-only. Use a vx_status parameter.
Interface to TI extension APIs.
VX_API_ENTRY tivx_super_node VX_API_CALL tivxCreateSuperNode(vx_graph graph, vx_node nodes[], uint32_t num_nodes)
Creates a reference to a super node object.
VX_API_ENTRY vx_status VX_API_CALL tivxQuerySuperNode(tivx_super_node super_node, vx_enum attribute, void *ptr, vx_size size)
Queries the super node for some specific information.
VX_API_ENTRY vx_status VX_API_CALL tivxSetSuperNodeTileSize(tivx_super_node super_node, vx_uint32 block_width, vx_uint32 block_height)
Sets the tile size for a given supernode in a graph. This is only valid for BAM-enabled kernels on C6...
VX_API_ENTRY vx_status VX_API_CALL tivxSetSuperNodeTarget(tivx_super_node super_node, vx_enum target_enum, const char *target_string)
Sets the super node target to the provided value. A success invalidates the graph that the super node...
tivx_super_node_attribute_e
The super node attributes.
#define VX_ATTRIBUTE_BASE(vendor, object)
struct _tivx_super_node * tivx_super_node
The Super Node Framework Object. Super Node is a strongly-typed container for connected nodes...
Queries the number of nodes in a super node. Read-only. Use a vx_uint32 parameter.
Queries the performance of the super node execution. The accuracy of timing information is platform d...
VX_API_ENTRY vx_status VX_API_CALL tivxReleaseSuperNode(tivx_super_node *super_node)
Releases a reference to a super node object. The object may not be garbage collected until its total ...
struct _vx_graph * vx_graph
struct _vx_node * vx_node
#define TIVX_TYPE_SUPER_NODE
The object type enumeration for super nodes.
Queries the target this super-node is run on. Read-only. Use a vx_char[] parameter of size TIVX_TARGE...
vx_status(* VX_API_CALL)(vx_reference *ref)
Callback type used to register release callbacks from object dervied from references.