- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Give a graph
tbb::flow::graph g
I wish to save out the state to disk and load it back.
- What options/approaches are available for TBB's flow graph ?
- Do we write our own or is there already something available ?
- Are the methods to traverse a graph ?
- Are there iterator that one can use to iterate through all the nodes ? What about edges ?
Cheers
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in intel communities.
You can use Flow Graph Analyzer (FGA) to create or extract the information of the Flow graph. This package is part of Intel Advisor.
Please refer to the below link for more details:
The basic approach for creating a Flow graph is we create nodes and make edges between them. First, a graph object, g, is constructed. Next, we construct the nodes that represent the computations in our data flow graph and then we create edges between these nodes.
You can refer to available Nodes provided by OneTBB to create your own Flow Graph.
Please refer to the below link for more details:
https://spec.oneapi.io/versions/latest/elements/oneTBB/source/flow_graph.html#functional-nodes
You can traverse through a graph using edges between the nodes. Edges represent the dependencies or communication channels between nodes. You can iterate each node using generic parallel algorithms and use edges to communicate between all nodes.
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks & Regards,
Noorjahan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We assume that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Noorjahan.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page