29005

Minuet: Accelerating 3D Sparse Convolutions on GPUs

Jiacheng Yang, Christina Giannoula, Jun Wu, Mostafa Elhoushi, James Gleeson, Gennady Pekhimenko
University of Toronto & Vector Institute
arXiv:2401.06145 [cs.DC], (1 Dec 2023)

@misc{yang2023minuet,

   title={Minuet: Accelerating 3D Sparse Convolutions on GPUs},

   author={Jiacheng Yang and Christina Giannoula and Jun Wu and Mostafa Elhoushi and James Gleeson and Gennady Pekhimenko},

   year={2023},

   eprint={2401.06145},

   archivePrefix={arXiv},

   primaryClass={cs.DC}

}

Sparse Convolution (SC) is widely used for processing 3D point clouds that are inherently sparse. Different from dense convolution, SC preserves the sparsity of the input point cloud by only allowing outputs to specific locations. To efficiently compute SC, prior SC engines first use hash tables to build a kernel map that stores the necessary General Matrix Multiplication (GEMM) operations to be executed (Map step), and then use a Gather-GEMM-Scatter process to execute these GEMM operations (GMaS step). In this work, we analyze the shortcomings of prior state-of-the-art SC engines, and propose Minuet, a novel memory-efficient SC engine tailored for modern GPUs. Minuet proposes to (i) replace the hash tables used in the Map step with a novel segmented sorting double-traversed binary search algorithm that highly utilizes the on-chip memory hierarchy of GPUs, (ii) use a lightweight scheme to autotune the tile size in the Gather and Scatter operations of the GMaS step, such that to adapt the execution to the particular characteristics of each SC layer, dataset, and GPU architecture, and (iii) employ a padding-efficient GEMM grouping approach that reduces both memory padding and kernel launching overheads. Our evaluations show that Minuet significantly outperforms prior SC engines by on average 1.74x (up to 2.22x) for end-to-end point cloud network executions. Our novel segmented sorting double-traversed binary search algorithm achieves superior speedups by 15.8x on average (up to 26.8x) over prior SC engines in the Map step. The source code of Minuet is publicly available.
No votes yet.
Please wait...

* * *

* * *

HGPU group © 2010-2024 hgpu.org

All rights belong to the respective authors

Contact us: