77 points · by g0xA52A2A · 6y ago · 13 comments
As recently announced at HPEC 2020 GraphBLAS BOF, NVIDIA is contributing CUDA support to the SuiteSparse GraphBLAS library for sparse matrices. It would be interesting to see how the TCU work from this paper could influence that contribution!
Sparse matrix multiplication of an adjacency matrix is the same operation as one step in a breadth first search across a graph. This is why sparse multiplication is so important to optimize.
Dense matrices with N^2 space requirements simply can't hold or work with very large graphs, where as sparse (order N) and hypersparse (<< order N) techniques in GraphBLAS mean much higher density graph networks can be stored.
A great video on the mathematical foundations on the graphblas can be seen here:
https://www.youtube.com/watch?v=gZSNp6XbOK8
Any to plug my own work, here's an introductory video on using the GraphBLAS with python:
Is it under the same Apache license as SuiteSparse:GraphBLAS?
[1] Tensor cores is a poor name, likely from marketing, as the units really only compute fixed, small matrix sizes.
https://github.com/michelp/pygraphblas
(I am the pygraphblas author)
It would be nice if people could share some experiences.
[1] https://towardsdatascience.com/heres-how-to-use-cupy-to-make...
rust wrappers for GraphBLAS https://github.com/fabianmurariu/rustgraphblas
Java wrappers for GraphBLAS https://github.com/fabianmurariu/graphblas-java-native/
JNI bindings are only built for Linux, if you need MacOS or Win feel free to raise an issue.