paper-with-me

홈 › Papers

Using hardware performance counters to speed up autotuning convergence on GPUs

2021-02-10 · Jiří Filipovič, Jana Hozzová, Amin Nezarat, Jaroslav Oľha, Filip Petrovič

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.

📄 PDF Abstract BibTeX arXiv:2102.05297

Code (0)

등록된 구현이 없습니다.

Tasks

GPUNavigate

Similar Papers 제목 키워드 기반

Searching CUDA code autotuning spaces with hardware performance counters: data from benchmarks running on various GPU architectures

2021-02-10 · Jiří Filipovič, Jana Hozzová, Amin Nezarat, Jaroslav Oľha 외

We have developed several autotuning benchmarks in CUDA that take into account performance-relevant source-code parameters and reach near peak-performance on various GPU architectures. We have used them during the develo…

GPU

Transfer-Learning-Based Autotuning Using Gaussian Copula

2024-01-09 · Thomas Randall, Jaehoon Koo, Brice Videau, Michael Kruse 외

As diverse high-performance computing (HPC) systems are built, many opportunities arise for applications to solve larger problems than ever before. Given the significantly increased complexity of these HPC systems and ap…

Transfer Learning

GPU Performance Portability needs Autotuning

2025-04-30 · Burkhard Ringlein, Thomas Parnell, Radu Stoica

As LLMs grow in complexity, achieving state-of-the-art performance requires tight co-design across algorithms, software, and hardware. Today's reliance on a single dominant platform limits portability, creates vendor loc…

GPU

Autotuning Apache TVM-based Scientific Applications Using Bayesian Optimization

2023-09-13 · Xingfu Wu, Praveen Paramasivam, Valerie Taylor

Apache TVM (Tensor Virtual Machine), an open source machine learning compiler framework designed to optimize computations across various hardware platforms, provides an opportunity to improve the performance of dense mat…

Bayesian OptimizationGPU

Introducing Instruction-Accurate Simulators for Performance Estimation of Autotuning Workloads

2025-05-19 · Rebecca Pelke, Nils Bosbach, Lennart M. Reimann, Rainer Leupers

Accelerating Machine Learning (ML) workloads requires efficient methods due to their large optimization space. Autotuning has emerged as an effective approach for systematically evaluating variations of implementations. …