Please use this identifier to cite or link to this item:
http://repositorio.inesctec.pt/handle/123456789/6392
Title: | Multi-target c code generation from MATLAB |
Authors: | João Bispo Luís Cubal Reis João Paiva Cardoso |
Issue Date: | 2014 |
Abstract: | This paper describes our recent work on MATISSE, a framework for MATLAB to C compilation. We focus on the new optimizations and transformations, as well as on OpenCL generation. MATISSE is controlled with LARA, an aspect-oriented language, able to specify transformations to the input MATLAB code (e.g., insertion of code for variable initialization and for monitoring) and to express information concerning types and shapes of variables. We evaluate the compiler with a set of benchmarks when targeting both an embedded system and a desktop system. The results show that we were able to achieve a speedup up to 1.8× by employing information provided by LARA aspects. We also compare the execution time of the generated C code with the original code running on MATLAB, and we achieve a geometric mean speedup of 19×. The geometric mean speedup reduces to 12× when optimizing the MATLAB code with LARA aspects. Finally, we present a preliminary version of a fully-functioning pragma-based OpenCL generator, built over the MATISSE framework.. |
URI: | http://repositorio.inesctec.pt/handle/123456789/6392 http://dx.doi.org/10.1145/2627373.2627389 |
metadata.dc.type: | conferenceObject Publication |
Appears in Collections: | CSIG - Articles in International Conferences |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
P-009-YTZ.pdf | 673.21 kB | Adobe PDF | ![]() View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.