FusedMM: A Unified SDDMM-SpMM Kernel for Graph Embedding and Graph Neural Networks

Md. Khaledur Rahman, Majedul Haque Sujon, Ariful Azad
11/7/2020
cs.LGcs.DCcs.SI
gnn

Official code: HipGraph/FusedMM (31 stars, C, last commit 2022-08-12).

Abstract

We develop a fused matrix multiplication kernel that unifies sampled dense-dense matrix multiplication and sparse-dense matrix multiplication under a single operation called FusedMM. By using user-defined functions, FusedMM can capture almost all computational patterns needed by popular graph embedding and GNN approaches.

Show full abstract

FusedMM is an order of magnitude faster than its equivalent kernels in Deep Graph Library. The superior performance of FusedMM comes from the low-level vectorized kernels, a suitable load balancing scheme and an efficient utilization of the memory bandwidth. FusedMM can tune its performance using a code generator and perform equally well on Intel, AMD and ARM processors. FusedMM speeds up an end-to-end graph embedding algorithm by up to 28x on different processors.

View on arXivView PDF

Code Implementations(1)

HipGraph/FusedMMOfficial100%

Implementation of FusedMM method for IPDPS 2021 paper titled "FusedMM: A Unified SDDMM-SpMM Kernel for Graph Embedding and Graph Neural Networks"

315C, C++Nov 17, 20204 years ago
fused-kernelgeneral-purpose-librarygraph-embeddinggraph-learning-kernelgraph-machine-learning+4 more

Similar Papers

Cite this paper

@article{rahman2020fusedmm,
  title  = {FusedMM: A Unified SDDMM-SpMM Kernel for Graph Embedding and Graph Neural Networks},
  author = {Md. Khaledur Rahman and Majedul Haque Sujon and Ariful Azad},
  year   = {2020},
  eprint = {2011.06391},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.06391}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2011.06391.svg)](https://codeofpaper.com/paper/2011.06391)

Discussion