cugraph icon indicating copy to clipboard operation
cugraph copied to clipboard

Update decompress_to_edgelist to handle edge types

Open naimnv opened this issue 9 months ago • 6 comments

Update decompress_to_edgelist to handle edge types

naimnv avatar May 08 '24 19:05 naimnv

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

copy-pr-bot[bot] avatar May 08 '24 19:05 copy-pr-bot[bot]

/okay to test

naimnv avatar May 08 '24 20:05 naimnv

LGTM but @jnke2016 needs a decompress_to_edgelist function that takes just a graph view object and an edge_property_device_view_t object of integer types (i.e. int32_t and int64_t for now, and in the future, we may need to support floating point types as well). Do you think it is better to implement this in this PR or address this in a separate PR?

He can just pass it instead of edge_id_view if edge_property_device_view_t object is of integer types (i.e. int32_t and int64_t or pass it instead of edge_weights_view if edge_property_device_view_t object is of floating point types. And he needs it for triangle count tests, IIRC.

Otherwise we need an additional 72 explicit instantiations and I can address it in a separate PR.

naimnv avatar May 08 '24 23:05 naimnv

Otherwise we need an additional 72 explicit instantiations and I can address it in a separate PR.

Why 72? I assume 3 (vertex_t & edge_t combinations) * 4 (store_transposed & multi_gpu) * 2 (Int32_t & int64_t) = 24. And eventually, we may remove 32 bit vertex ID and 64 bit edge ID support and may change store_transposed & multi_gpu as run-time parameters, so this will become more like 4.

seunghwak avatar May 09 '24 00:05 seunghwak

/okay to test

naimnv avatar May 10 '24 23:05 naimnv

/okay to test

naimnv avatar May 12 '24 20:05 naimnv

/merge

naimnv avatar May 13 '24 11:05 naimnv