Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3078155.3078186acmotherconferencesArticle/Chapter ViewAbstractPublication PagesiwoclConference Proceedingsconference-collections
poster

Compiler Techniques for Efficient MATLAB to OpenCL Code Generation

Published: 16 May 2017 Publication History

Abstract

MATLAB is a high-level language used in various scientific and engineering fields. Deployment of well-tested MATLAB code to production would be highly desirable, but in practice a number of obstacles prevent this, notably performance and portability. Although MATLAB-to-C compilers exist, the performance of the generated C code may not be sufficient and thus it is important to research alternatives, such as CPU parallelism, GPGPU computing and FPGAs. OpenCL is an API and programming language that allows targeting these devices, hence the motivation for MATLAB-to-OpenCL compilation. In this paper, we describe our recent efforts on offloading code to OpenCL devices in the context of our MATLAB to C/OpenCL compiler.

References

[1]
João Bispo, Pedro Pinto, Ricardo Nobre, Tiago Carvalho, João M. P. Cardoso, and Pedro C. Diniz. 2013. The MATISSE MATLAB Compiler -- A MATrix(MATLAB)-aware compiler InfraStructure for embedded computing SystEms. In IEEE International Conference on Industrial Informatics (INDIN'2013). Bochum, Germany.
[2]
João Bispo, Luís Reis, and João M. P. Cardoso. 2015. C and OpenCL Generation from MATLAB. In Proceedings of the 30th Annual ACM Symposium on Applied Computing (SAC '15). ACM, New York, NY, USA, 1315--1320.
[3]
Vineet Kumar and Laurie Hendren. 2014. MIX10: Compiling MATLAB to X10 for High Performance. SIGPLAN Not. 49, 10 (Oct. 2014), 617--636.
[4]
MathWorks. 2017. MATLAB -- The Language of Technical Computing. http://www.mathworks.com/products/matlab/. (2017). Accessed: Feb 2nd, 2017.
[5]
Ashwin Prasad, Jayvant Anantpur, and R. Govindarajan. 2011. Automatic Compilation of MATLAB Programs for Synergistic Execution on Heterogeneous Processors. SIGPLAN Not. 46, 6 (June 2011), 152--163.
[6]
Luís Reis, João Bispo, and João M. P. Cardoso. 2016. SSA-based MATLAB-to-C Compilation and Optimization. In Proceedings of the 3rd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming (ARRAY2016). ACM, New York, NY, USA, 55--62.
[7]
Sravanthi Kota Venkata, Ikkjin Ahn, Donghwan Jeon, Anshuman Gupta, Christopher Louie, Saturnino Garcia, Serge Belongie, and Michael Bedford Taylor. 2009. SD-VBS: The San Diego Vision Benchmark Suite. In Proceedings of the 2009 IEEE International Symposium on Workload Characterization (IISWC) (IISWC '09). IEEE Computer Society, Washington, DC, USA, 55--64.

Index Terms

  1. Compiler Techniques for Efficient MATLAB to OpenCL Code Generation
      Index terms have been assigned to the content through auto-classification.

      Recommendations

      Comments

      Information & Contributors

      Information

      Published In

      cover image ACM Other conferences
      IWOCL '17: Proceedings of the 5th International Workshop on OpenCL
      May 2017
      135 pages
      ISBN:9781450352147
      DOI:10.1145/3078155
      Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      In-Cooperation

      • The University of Bristol: The University of Bristol

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 16 May 2017

      Check for updates

      Author Tags

      1. GPGPU
      2. MATLAB
      3. OpenCL
      4. Optimizing Compilers

      Qualifiers

      • Poster
      • Research
      • Refereed limited

      Funding Sources

      Conference

      IWOCL 2017
      IWOCL 2017: 5th International Workshop on OpenCL
      May 16 - 18, 2017
      Toronto, Canada

      Acceptance Rates

      IWOCL '17 Paper Acceptance Rate 15 of 29 submissions, 52%;
      Overall Acceptance Rate 84 of 152 submissions, 55%

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • 0
        Total Citations
      • 129
        Total Downloads
      • Downloads (Last 12 months)3
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 25 Feb 2025

      Other Metrics

      Citations

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Figures

      Tables

      Media

      Share

      Share

      Share this Publication link

      Share on social media