Anatomy Of High-Performance Deep Learning Convolutions On SIMD Architectures

Evangelos Georganas, Sasikanth Avancha, Kunal Banerjee, Dhiraj Kalamkar, Greg Henry +2 more
8/16/2018
118 citations
cs.DC

Official code: hfp/libxsmm (4 stars, C, BSD-3-Clause, last commit 2025-08-21).

Abstract

Convolution layers are prevalent in many classes of deep neural networks, including Convolutional Neural Networks (CNNs) which provide state-of-the-art results for tasks like image recognition, neural machine translation and speech recognition. The computationally expensive nature of a convolution operation has led to the proliferation of implementations including matrix-matrix multiplication formulation, and direct convolution primarily targeting GPUs.

Show full abstract

In this paper, we introduce direct convolution kernels for x86 architectures, in particular for Xeon and XeonPhi systems, which are implemented via a dynamic compilation approach. Our JIT-based implementation shows close to theoretical peak performance, depending on the setting and the CPU architecture at hand. We additionally demonstrate how these JIT-optimized kernels can be integrated into a lightweight multi-node graph execution model. This illustrates that single- and multi-node runs yield high efficiencies and high image-throughputs when executing state-of-the-art image recognition tasks on CPUs.

View on arXivView PDF

Code Implementations(1)

hfp/libxsmmOfficial100%
BSD-3-Clause

Library for specialized dense and sparse matrix operations, and deep learning primitives.

41C, MakefileDec 16, 20241 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{georganas2018anatomy,
  title  = {Anatomy Of High-Performance Deep Learning Convolutions On SIMD Architectures},
  author = {Evangelos Georganas and Sasikanth Avancha and Kunal Banerjee and Dhiraj Kalamkar and Greg Henry and Hans Pabst and Alexander Heinecke},
  year   = {2018},
  eprint = {1808.05567},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1808.05567}
}

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

Discussion