Deep Learning and Classical Machine Learning for code mapping in Heterogeneous Platforms

Yacine Hakimi, Riyad Baghdadi, Yacine Challal

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Programming modern heterogeneous systems is becoming more and more challenging due to their complexity. To simplify software development for such architectures, more advanced compilers are being designed. Such compilers automatically optimize code and hide the complexity of the target heterogeneous architecture from the developer. An example of problems that these compilers need to solve is to decide whether to map (run) a piece of code on CPU or GPU (Graphics Processing Unit). State-of-the-art compilers use accurate optimization heuristics to solve such problems and decide about how to optimize a code automatically. Traditional machine learning and Deep Learning approaches have both been used to build such heuristics. While traditional machine learning is well suited for training on small datasets, it is not well suited for extracting a set of high-quality features, on the other hand, deep learning can automatically extract features, but it needs a large amount of data to get satisfactory results.In this paper, we propose a new machine-learning-based model that allows a compiler to automatically decide whether to map a piece of code to CPU or GPU. Our model uses traditional machine learning and deep learning by exploiting the advantages of each of them. We show that our proposed model, which requires a small amount of data and training time, matches and outperforms state-of-the-art pre-trained deep learning models that require large amounts of data.

Original languageEnglish (US)
Title of host publication5th International Conference on Networking and Advanced Systems, ICNAS 2021
EditorsAbdelaziz Amara Korba, Mehdi Nafaa, Marwa Ahmim, Amira Bendjedou
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9781665428217
DOIs
StatePublished - 2021
Event5th IEEE International Conference on Networking and Advanced Systems, ICNAS 2021 - Annaba, Algeria
Duration: Oct 27 2021Oct 28 2021

Publication series

Name5th International Conference on Networking and Advanced Systems, ICNAS 2021

Conference

Conference5th IEEE International Conference on Networking and Advanced Systems, ICNAS 2021
Country/TerritoryAlgeria
CityAnnaba
Period10/27/2110/28/21

Keywords

  • Code Optimizations
  • Deep Learning
  • Heterogeneous Platforms
  • LLVM-IR
  • Machine Learning

ASJC Scopus subject areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Hardware and Architecture
  • Information Systems
  • Information Systems and Management

Fingerprint

Dive into the research topics of 'Deep Learning and Classical Machine Learning for code mapping in Heterogeneous Platforms'. Together they form a unique fingerprint.

Cite this