rapidsai / cugraph

cuGraph - RAPIDS Graph Analytics Library
https://docs.rapids.ai/api/cugraph/stable/
Apache License 2.0
1.76k stars 304 forks source link

[FEA] Vertex and edge property support. #2479

Open seunghwak opened 2 years ago

seunghwak commented 2 years ago

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).

ChuckHastings commented 6 months ago

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.