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

08/30/2022
by   Petros Vavaroutsos, et al.
0

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.

READ FULL TEXT
research
04/17/2023

Use of social media and Natural Language Processing (NLP) in natural hazard research

Twitter is a microblogging service for sending short, public text messag...
research
09/08/2021

DeepZensols: Deep Natural Language Processing Framework

Reproducing results in publications by distributing publicly available s...
research
10/16/2019

Efficiency through Auto-Sizing: Notre Dame NLP's Submission to the WNGT 2019 Efficiency Task

This paper describes the Notre Dame Natural Language Processing Group's ...
research
03/18/2023

Requirement Formalisation using Natural Language Processing and Machine Learning: A Systematic Review

Improvement of software development methodologies attracts developers to...
research
12/02/2017

Will humans even write code in 2040 and what would that mean for extreme heterogeneity in computing?

Programming trends suggest that software development will undergo a radi...
research
03/26/2021

LS-CAT: A Large-Scale CUDA AutoTuning Dataset

The effectiveness of Machine Learning (ML) methods depend on access to l...
research
01/24/2022

DRAWNAPART: A Device Identification Technique based on Remote GPU Fingerprinting

Browser fingerprinting aims to identify users or their devices, through ...

Please sign up or login with your details

Forgot password? Click here to reset