Accelerating Reduction and Scan Using Tensor Core Units

Abdul Dakkak, Cheng Li, Isaac Gelado, Jinjun Xiong, Wen-mei Hwu
11/24/2018
cs.PF

Official code: c3sr/tcu_scope (50 stars, HTML, last commit 2019-06-27).

Abstract

Driven by deep learning, there has been a surge of specialized processors for matrix multiplication, referred to as TensorCore Units (TCUs). These TCUs are capable of performing matrix multiplications on small matrices (usually 4x4 or 16x16) to accelerate the convolutional and recurrent neural networks in deep learning workloads.

Show full abstract

In this paper we leverage NVIDIA's TCU to express both reduction and scan with matrix multiplication and show the benefits -- in terms of program simplicity, efficiency, and performance. Our algorithm exercises the NVIDIA TCUs which would otherwise be idle, achieves 89%-98% of peak memory copy bandwidth, and is orders of magnitude faster (up to 100x for reduction and 3x for scan) than state-of-the-art methods for small segment sizes -- common in machine learning and scientific applications. Our algorithm achieves this while decreasing the power consumption by up to 22% for reduction and16%for scan.

View on arXivView PDF

Code Implementations(1)

c3sr/tcu_scopeOfficial100%
5011HTML, CudaJun 24, 20197 years ago
acceleratorcudagpuicsreduction+3 more

Similar Papers

Cite this paper

@article{dakkak2018accelerating,
  title  = {Accelerating Reduction and Scan Using Tensor Core Units},
  author = {Abdul Dakkak and Cheng Li and Isaac Gelado and Jinjun Xiong and Wen-mei Hwu},
  year   = {2018},
  eprint = {1811.09736},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.09736}
}

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

Discussion