Skip to content

Conversation

georgiy-belyanin
Copy link
Collaborator

@georgiy-belyanin georgiy-belyanin commented Aug 1, 2025

DO NOT MERGE: work in progress, CI will not pass since LAGraph cannot be linked inside it yet.


This patch introduces basic RPQ evaluation logic. It basically
interfaces the LAGraph (experimental) library that offers a collection
of the sparse linear algebra-based algorithms. It uses GraphBLAS [^1] as
a backend library for evaluating sparse matrix algebra. Rust <-> C
interfacing is done via FFI. Currently, the project requires our fork
[^2] since the required algorithm is not upstreamed yet. If you are
reading this and notice we occasionally have removed this from the fork
we are asking for an excuse and hope that you will be able to find the
suitable algorithm by yourself from the interfaces described on the Rust
side.

[^1] https://github.com/DrTimothyAldenDavis/GraphBLAS
[^2] https://github.com/SparseLinearAlgebra/LAGraph

Turns out there was an extra brace when parsing the graph edges due to
wrong bounds. Let's fix it.
This patch extends plain nvals information within the label in the
execution plan with label name. It is needed to match the actual
matrices and labels to generate complete plan.
@georgiy-belyanin georgiy-belyanin force-pushed the basic-eval branch 8 times, most recently from 90cb4ea to 9c0dc19 Compare August 3, 2025 07:18
This patch introduces basic RPQ evaluation logic. It basically
interfaces the LAGraph (experimental) library that offers a collection
of the sparse linear algebra-based algorithms. It uses GraphBLAS [^1] as
a backend library for evaluating sparse matrix algebra. Rust <-> C
interfacing is done via FFI. Currently, the project requires our fork
[^2] since the required algorithm is not upstreamed yet. If you are
reading this and notice we occasionally have removed this from the fork
we are asking for an excuse and hope that you will be able to find the
suitable algorithm by yourself from the interfaces described on the Rust
side.

[^1] https://github.com/DrTimothyAldenDavis/GraphBLAS
[^2] https://github.com/SparseLinearAlgebra/LAGraph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant