mlsanityData to 7 Oct 2026

Using hardware performance counters to speed up autotuning convergence on GPUs

arXiv 2102.05297 ↗First posted 10 Feb 2021cs.DC cs.LG cs.PFcited by 1

Not on the map. Why?

Abstract (arXiv)

Nowadays, GPU accelerators are commonly used to speed up general-purpose computing tasks on a variety of hardware. However, due to the diversity of GPU architectures and processed data, optimization of codes for a particular type of hardware and specific data characteristics can be extremely challenging. The autotuning of performance-relevant source-code parameters allows for automatic optimization of applications and keeps their performance portable. Although the autotuning process typically results in code speed-up, searching the tuning space can bring unacceptable overhead if (i) the tuning space is vast and full of poorly-performing implementations, or (ii) the autotuning process has to be repeated frequently because of changes in processed data or migration to different hardware. In this paper, we introduce a novel method for searching tuning spaces. The method takes advantage of collecting hardware performance counters (also known as profiling counters) during empirical tuning. Those counters are used to navigate the searching process towards faster implementations. The method requires the tuning space to be sampled on any GPU. It builds a problem-specific model, which can be used during autotuning on various, even previously unseen inputs or GPUs. Using a set of five benchmarks, we experimentally demonstrate that our method can speed up autotuning when an application needs to be ported to different hardware or when it needs to process data with different characteristics. We also compared our method to state of the art and show that our method is superior in terms of the number of searching steps and typically outperforms other searches in terms of convergence time.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 5 of its 45 references that are in the map. First posted on arXiv 10 Feb 2021.

Builds on

5 of 45 references.

References · 5

  1. 2017CLTune: A Generic Auto-Tuner for OpenCL Kernelscited by 25
  2. 2017CLBlast: A Tuned OpenCL BLAS Librarycited by 8
  3. 2015Machine Learning Based Auto-tuning for Enhanced OpenCL Performance Portabilitycited by 7
  4. 2019A Benchmark Set of Highly-efficient CUDA and OpenCL Kernels and its Dynamic Autotuning with Kernel Tuning Toolkitcited by 6
  5. 2018Input-Aware Auto-Tuning of Compute-Bound HPC Kernelscited by 5

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.