Mapping parallel programs to heterogeneous CPU/GPU architectures using a Monte Carlo Tree Search

Mehdi Goli, John McCall, Christopher Mark Brown, Vladimir Janjic, Kevin Hammond

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

Abstract

The single core processor, which has dominated for over 30 years, is now obsolete with recent trends increasing towards parallel systems, demanding a huge shift in programming techniques and practices. Moreover, we are rapidly moving towards an age where almost all programming will be targeting parallel systems. Parallel hardware is rapidly evolving, with large heterogeneous systems, typically comprising a mixture of CPUs and GPUs, becoming the mainstream. Additionally, with this increasing heterogeneity comes increasing complexity: not only does the programmer have to worry about where and how to express the parallelism, they must also express an efficient mapping of resources to the available system. This generally requires in-depth expert knowledge that most application programmers do not have. In this paper we describe a new technique that derives, automatically, optimal mappings for an application onto a heterogeneous architecture, using a Monte Carlo Tree Search algorithm. Our technique exploits high-level design patterns, targeting a set of well-specified parallel skeletons. We demonstrate that our MCTS on a convolution example obtained speedups that are within 5% of the speedups achieved by a hand-tuned version of the same application.
Original languageEnglish
Title of host publication2013 IEEE Congress on Evolutionary Computation, CEC 2013
PublisherIEEE
Pages2932-2939
Number of pages8
ISBN (Electronic)9781479904525
ISBN (Print)9781479904532
DOIs
Publication statusPublished - 20 Jun 2013

Keywords

  • Monte Carlo Tree Search
  • Heuristic algorithm
  • Static mapping
  • Parallel programming
  • Heterogenous architecture

Fingerprint

Dive into the research topics of 'Mapping parallel programs to heterogeneous CPU/GPU architectures using a Monte Carlo Tree Search'. Together they form a unique fingerprint.

Cite this