Multi-target c code generation from MATLAB
Multi-target c code generation from MATLAB
dc.contributor.author | João Bispo | en |
dc.contributor.author | Luís Cubal Reis | en |
dc.contributor.author | João Paiva Cardoso | en |
dc.date.accessioned | 2018-01-16T15:18:39Z | |
dc.date.available | 2018-01-16T15:18:39Z | |
dc.date.issued | 2014 | en |
dc.description.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.. | en |
dc.identifier.uri | http://repositorio.inesctec.pt/handle/123456789/6392 | |
dc.identifier.uri | http://dx.doi.org/10.1145/2627373.2627389 | en |
dc.language | eng | en |
dc.relation | 6527 | en |
dc.relation | 7010 | en |
dc.relation | 5550 | en |
dc.rights | info:eu-repo/semantics/openAccess | en |
dc.title | Multi-target c code generation from MATLAB | en |
dc.type | conferenceObject | en |
dc.type | Publication | en |
Files
Original bundle
1 - 1 of 1