On Symmetric Rectilinear Matrix Partitioning

Abdurrahman Yaşar, Muhammed Fatih Balin, Xiaojing An, Kaan Sancak, Ümit V. Çatalyürek
9/16/2020
cs.DS

Official code: GT-TDAlab/SARMA (11 stars, C++, BSD-3-Clause, last commit 2023-10-16).

Abstract

Even distribution of irregular workload to processing units is crucial for efficient parallelization in many applications. In this work, we are concerned with a spatial partitioning called rectilinear partitioning (also known as generalized block distribution) of sparse matrices.

Show full abstract

More specifically, in this work, we address the problem of symmetric rectilinear partitioning of a square matrix. By symmetric, we mean the rows and columns of the matrix are identically partitioned yielding a tiling where the diagonal tiles (blocks) will be squares. We first show that the optimal solution to this problem is NP-hard, and we propose four heuristics to solve two different variants of this problem. We present a thorough analysis of the computational complexities of those proposed heuristics. To make the proposed techniques more applicable in real life application scenarios, we further reduce their computational complexities by utilizing effective sparsification strategies together with an efficient sparse prefix-sum data structure. We experimentally show the proposed algorithms are efficient and effective on more than six hundred test matrices. With sparsification, our methods take less than 3 seconds in the Twitter graph on a modern 24 core system and output a solution whose load imbalance is no worse than 1%.

View on arXivView PDF

Code Implementations(1)

GT-TDAlab/SARMAOfficial100%
BSD-3-Clause

SARMA: Spatial RactilineaR Matrix pArtitioning

111C++, CMakeJun 7, 20203 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{yaar2020symmetric,
  title  = {On Symmetric Rectilinear Matrix Partitioning},
  author = {Abdurrahman Yaşar and Muhammed Fatih Balin and Xiaojing An and Kaan Sancak and Ümit V. Çatalyürek},
  year   = {2020},
  eprint = {2009.07735},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.07735}
}

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/2009.07735.svg)](https://codeofpaper.com/paper/2009.07735)

Discussion