cugraph
cugraph copied to clipboard
[FEA] Vertex and edge property support.
As pre-requsites for https://github.com/rapidsai/cugraph/issues/2143 and https://github.com/rapidsai/cugraph/issues/2433, we need a wrapper class to store vertex property values (which can be a simple 1D array without vertex masking, this does not hold anymore with vertex masking, need a wrapper class to hide complexity) and another class to store edge property values (in addition to the edge weight).
- [ ] Update the current edge_partition_src|dst_property_t to support vertex/edge source|destination/edge property values in a consistent and efficient way.
- [ ] Add a wrapper class for vertex property values
- [x] Add a new class for edge property values.
We have added support for edge properties.
We still manage vertex properties using rmm::device_uvector, which exposes internal implementation and prevents support for vertex masking and some other optimizations we might consider.