Saltar para:
Logótipo
Você está em: Início » Publicações » Visualização » Compilation of MATLAB computations to CPU/GPU via C/OpenCL generation

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

Título
Compilation of MATLAB computations to CPU/GPU via C/OpenCL generation
Tipo
Artigo em Revista Científica Internacional
Ano
2020
Autores
Reis, L
(Autor)
Outra
A pessoa não pertence à instituição. A pessoa não pertence à instituição. A pessoa não pertence à instituição. Sem AUTHENTICUS Sem ORCID
Revista
Vol. 32
ISSN: 1532-0626
Editora: Wiley-Blackwell
Outras Informações
ID Authenticus: 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.
Idioma: Inglês
Tipo (Avaliação Docente): Científica
Nº de páginas: 24
Documentos
Não foi encontrado nenhum documento associado à publicação.
Publicações Relacionadas

Dos mesmos autores

Techniques for efficient MATLAB-to-C compilation (2015)
Artigo em Livro de Atas de Conferência Internacional
João Bispo; Reis, L; João M. P. Cardoso
SSA-based MATLAB-to-C compilation and optimization (2016)
Artigo em Livro de Atas de Conferência Internacional
Reis, L; João Bispo; João M. P. Cardoso
Multi-target c code generation from MATLAB (2014)
Artigo em Livro de Atas de Conferência Internacional
João Bispo; Reis, L; João M. P. Cardoso
Compiler Techniques for Efficient MATLAB to OpenCL Code Generation (2017)
Artigo em Livro de Atas de Conferência Internacional
Reis, L; João Bispo; João M. P. Cardoso
C and OpenCL Generation from MATLAB (2015)
Artigo em Livro de Atas de Conferência Internacional
João Bispo; Reis, L; João M. P. Cardoso

Da mesma revista

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

Ver todas (6)

Recomendar Página Voltar ao Topo
Copyright 1996-2024 © Faculdade de Medicina da Universidade do Porto  I Termos e Condições  I Acessibilidade  I Índice A-Z  I Livro de Visitas
Página gerada em: 2024-07-22 às 20:25:51
Política de Utilização Aceitável | Política de Proteção de Dados Pessoais | Denúncias | Política de Captação e Difusão da Imagem Pessoal em Suporte Digital