You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new transpose method added in #1834 allows us to create a graph in one orientation and transpose it to another efficiently without needing to recreate everything.
In order to take advantage of this in the python layer, we need to create some create graph creation methods in the C API to return a type erased pointer to a graph. Ultimately this will replace the current graph container/graph envelope mechanism in use by the current Cython.
The text was updated successfully, but these errors were encountered:
Partially addresses #1906
This PR defines the API for graph creation and the pagerank and bfs calls that we will use to experiment with transposing a graph.
Some notes on the design here.
1. The intention is that the C API will handle renumbering (when set to true on graph creation). This means that the opaque cugraph_graph_t pointer being populated by cugraph_sg_graph_create will contain the renumbering device vector and that the C API implementation of algorithms (pagerank and bfs demonstrated here) will unrenumber the result before returning
2. The intention is that the C API will understand whether the algorithm wants `store_transposed=true` or `store_transposed=false` and will call the transpose method if required.
Authors:
- Chuck Hastings (https://github.com/ChuckHastings)
Approvers:
- Andrei Schaffer (https://github.com/aschaffer)
- Rick Ratzel (https://github.com/rlratzel)
- Seunghwa Kang (https://github.com/seunghwak)
URL: #1907
The new transpose method added in #1834 allows us to create a graph in one orientation and transpose it to another efficiently without needing to recreate everything.
In order to take advantage of this in the python layer, we need to create some create graph creation methods in the C API to return a type erased pointer to a graph. Ultimately this will replace the current graph container/graph envelope mechanism in use by the current Cython.
The text was updated successfully, but these errors were encountered: