mlsanityData to 14 Oct 2026

Towards making the most of NLP-based device mapping optimization for OpenCL kernels

arXiv 2208.14124 ↗First posted 30 Aug 2022cs.LG cs.DCcited by 0

Not on the map. Why?

Abstract (arXiv)

Nowadays, we are living in an era of extreme device heterogeneity. Despite the high variety of conventional CPU architectures, accelerator devices, such as GPUs and FPGAs, also appear in the foreground exploding the pool of available solutions to execute applications. However, choosing the appropriate device per application needs is an extremely challenging task due to the abstract relationship between hardware and software. Automatic optimization algorithms that are accurate are required to cope with the complexity and variety of current hardware and software. Optimal execution has always relied on time-consuming trial and error approaches. Machine learning (ML) and Natural Language Processing (NLP) has flourished over the last decade with research focusing on deep architectures. In this context, the use of natural language processing techniques to source code in order to conduct autotuning tasks is an emerging field of study. In this paper, we extend the work of Cummins et al., namely Deeptune, that tackles the problem of optimal device selection (CPU or GPU) for accelerated OpenCL kernels. We identify three major limitations of Deeptune and, based on these, we propose four different DNN models that provide enhanced contextual information of source codes. Experimental results show that our proposed methodology surpasses that of Cummins et al. work, providing up to 4% improvement in prediction accuracy.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 6 of its 18 references that are in the map. First posted on arXiv 30 Aug 2022.

Builds on

6 of 18 references.

References · 6

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2017A Survey of Machine Learning for Big Code and Naturalnesscited by 221
  4. 2018Neural Code Comprehension: A Learnable Representation of Code Semanticscited by 59
  5. 2018A Survey on Compiler Autotuning using Machine Learningcited by 40
  6. 2015Autotuning OpenCL Workgroup Size for Stencil Patternscited by 2

Built on by

Not cited yet.