A Simple Model for Portable and Fast Prediction of Execution Time and Power Consumption of GPU Kernels

Lorenz Braun, Sotirios Nikas, Chen Song, Vincent Heuveline, Holger Fröning
1/20/2020
cs.DCcs.LGcs.PF

Official code: HAWAIILAB/gpu-mangrove (6 stars, Jupyter Notebook, last commit 2021-01-25).

Abstract

Characterizing compute kernel execution behavior on GPUs for efficient task scheduling is a non-trivial task. We address this with a simple model enabling portable and fast predictions among different GPUs using only hardware-independent features.

Show full abstract

This model is built based on random forests using 189 individual compute kernels from benchmarks such as Parboil, Rodinia, Polybench-GPU and SHOC. Evaluation of the model performance using cross-validation yields a median Mean Average Percentage Error (MAPE) of 8.86-52.00% and 1.84-2.94%, for time respectively power prediction across five different GPUs, while latency for a single prediction varies between 15 and 108 milliseconds.

View on arXivView PDF

Code Implementations(1)

machine learning model for execution time and power prediction of CUDA kernels

64Jupyter Notebook, PythonDec 17, 20215 years ago

Similar Papers

Cite this paper

@article{braun2020simple,
  title  = {A Simple Model for Portable and Fast Prediction of Execution Time and Power Consumption of GPU Kernels},
  author = {Lorenz Braun and Sotirios Nikas and Chen Song and Vincent Heuveline and Holger Fröning},
  year   = {2020},
  eprint = {2001.07104},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.07104}
}

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

Discussion