Go to:
Logótipo
You are in:: Start > Publications > View > Compilation of MATLAB computations to CPU/GPU via C/OpenCL generation
Map of Premises
FC6 - Departamento de Ciência de Computadores FC5 - Edifício Central FC4 - Departamento de Biologia FC3 - Departamento de Física e Astronomia e Departamento GAOT FC2 - Departamento de Química e Bioquímica FC1 - Departamento de Matemática
Publication

Compilation of MATLAB computations to CPU/GPU via C/OpenCL generation

Title
Compilation of MATLAB computations to CPU/GPU via C/OpenCL generation
Type
Article in International Scientific Journal
Year
2020
Authors
Reis, L
(Author)
Other
The person does not belong to the institution. The person does not belong to the institution. The person does not belong to the institution. Without AUTHENTICUS Without ORCID
Journal
Vol. 32
ISSN: 1532-0626
Publisher: Wiley-Blackwell
Other information
Authenticus ID: P-00S-8QG
Abstract (EN): In order to take advantage of the processing power of current computing platforms, programmers typically need to develop software versions for different target devices. This task is time-consuming and requires significant programming and computer architecture expertise. A possible and more convenient alternative is to start with a single high-level description of a program with minimum implementation details, and generate custom implementations according to the target platform. In this paper, we use MATLAB as a high-level programming language and propose a compiler that targets CPU/GPU computing platforms by generating customized implementations in C and OpenCL. We propose a number of compiler techniques to automatically generate efficient C and OpenCL code from MATLAB programs. One of such compiler techniques relies on heuristics to decide when and how to use Shared Virtual Memory (SVM). The experimental results show that our approach is able to generate code that provides significant speedups (eg, geometric mean speedup of 11x for a set of simple benchmarks) using a discrete GPU over equivalent sequential C code executing on a CPU. With more complex benchmarks, for which only some code regions can be parallelized, and are thus offloaded, the generated code achieved speedups of up to 2.2x. We also show the impact of using SVM, specifically fine-grained buffers, and the results show that the compiler is able to achieve significant speedups, both over the versions without SVM and with naive aggressive SVM use, across three CPU/GPU platforms.
Language: English
Type (Professor's evaluation): Scientific
No. of pages: 24
Documents
We could not find any documents associated to the publication.
Related Publications

Of the same authors

Techniques for efficient MATLAB-to-C compilation (2015)
Article in International Conference Proceedings Book
João Bispo; Reis, L; João M. P. Cardoso
SSA-based MATLAB-to-C compilation and optimization (2016)
Article in International Conference Proceedings Book
Reis, L; João Bispo; João M. P. Cardoso
Multi-target c code generation from MATLAB (2014)
Article in International Conference Proceedings Book
João Bispo; Reis, L; João M. P. Cardoso
Compiler Techniques for Efficient MATLAB to OpenCL Code Generation (2017)
Article in International Conference Proceedings Book
Reis, L; João Bispo; João M. P. Cardoso
C and OpenCL Generation from MATLAB (2015)
Article in International Conference Proceedings Book
João Bispo; Reis, L; João M. P. Cardoso

Of the same journal

Special Issue: Recent advances in quantum computing and quantum neural networks (2022)
Another Publication in an International Scientific Journal
Fernandes, S; Zhang, YD; João Manuel R. S. Tavares
Special Issue: Euro-Par 2014 (2015)
Another Publication in an International Scientific Journal
Christian Lengauer; Luc Bougé; Fernando Silva
Foreword to the special issue of the 18th IEEE international conference on computational science and engineering (CSE2015) (2017)
Another Publication in an International Scientific Journal
Plessl, C; Cong, GJ; João M. P. Cardoso
Editorial Heteropar Special Issue (2018)
Another Publication in an International Scientific Journal
Jorge Manuel Gomes Barbosa; Emmanuel Jeannot
Multi-dimensional lock-free arrays for multithreaded mode-directed tabling in Prolog (2019)
Article in International Scientific Journal
Miguel Areias; Ricardo Rocha

See all (6)

Recommend this page Top
Copyright 1996-2024 © Faculdade de Ciências da Universidade do Porto  I Terms and Conditions  I Acessibility  I Index A-Z  I Guest Book
Page created on: 2024-07-18 at 14:26:52 | Acceptable Use Policy | Data Protection Policy | Complaint Portal