Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3141865.3142466acmconferencesArticle/Chapter ViewAbstractPublication PagessepsConference Proceedingsconference-collections
abstract

Declaring Lua data types for GPU code generation

Published: 23 October 2017 Publication History

Abstract

Some effort has been employed to allow interpreted languages to be able to take advantage of the computing capabilities of GPUs. Using interpreted languages allows to abstract the hardware and its specificities away from the user application, making development less complicated. However, due to hardware dependencies, the code needs to be compiled before execution. We want to compile a Lua function into a GPU kernel as transparently as possible, allowing the user to access the underlying hardware, without the complexities related to the traditional GPU programming. This scenario presents a great challenge on how to infer the variables data types while interfering as little as possible on the user programming paradigm.

References

[1]
Paul Baines. 2014. RCUDA: General programming facilities for GPUs in R. (2014). https://github.com/duncantl/RCUDA
[2]
Troels Blum, Mads R. B. Kristensen, and Brian Vinter. 2014. Transparent GPU Execution of NumPy Applications. In Proceedings of the 2014 IEEE International Parallel & Distributed Processing Symposium Workshops (IPDPSW ’14) . IEEE Computer Society, Washington, DC, USA, 1002–1010.
[3]
Ronan Collobert, Samy Bengio, and Johnny Mariéthoz. 2002. Torch: a modular machine learning software library . Idiap-RR Idiap-RR-46-2002. IDIAP.
[4]
Roberto Ierusalimschy, Luiz Henrique, Figueiredo Waldemar, and Celes Filho. 1996. Lua - an extensible extension language. Software: Practice and Experience 26 (1996), 635–652.
[5]
Andreas Klöckner, Nicolas Pinto, Yunsup Lee, Bryan Catanzaro, Paul Ivanov, and Ahmed Fasih. 2012. PyCUDA and PyOpenCL: A Scriptingbased Approach to GPU Run-time Code Generation. Parallel Comput. 38, 3 (March 2012), 157–174.
[6]
Duncan Temple Lang. 2015. The Rllvm package: generating fast code in R by compiling with llvm. (2015). https://github.com/duncantl/RCUDA
[7]
André Murbach Maidl, Fabio Mascarenhas, and Roberto Ierusalimschy. 2015. A Formalization of Typed Lua. In Proceedings of the 11th Symposium on Dynamic Languages (DLS 2015) . ACM, New York, NY, USA, 13–25.
[8]
Terence Parr. 2013. The Definitive ANTLR 4 Reference (2nd ed.). Pragmatic Bookshelf.
[9]
R. Ribeiro and P. Motta. 2016. Towards a GPU Abstraction for Lua. In 2016 International Symposium on Computer Architecture and High Performance Computing Workshops (SBAC-PADW) . 13–18.
[10]
Stefan van der Walt, S. Chris Colbert, and Gael Varoquaux. 2011. The NumPy Array: A Structure for Efficient Numerical Computation. Computing in Science and Engg. 13, 2 (March 2011), 22–30.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SEPS 2017: Proceedings of the 4th ACM SIGPLAN International Workshop on Software Engineering for Parallel Systems
October 2017
47 pages
ISBN:9781450355179
DOI:10.1145/3141865
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.

Sponsors

In-Cooperation

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 October 2017

Check for updates

Author Tags

  1. Code Generation
  2. GPU
  3. Interpreted Language Data Types
  4. Lua

Qualifiers

  • Abstract

Conference

SPLASH '17
Sponsor:

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 66
    Total Downloads
  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)1
Reflects downloads up to 15 Oct 2024

Other Metrics

Citations

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media