Files:DescriptionFile size FormatBrowse
Fulltext0.28 MBPDF (requires Acrobat Reader)Previous | Next
  
Authors:Kristian Stavåker: Programming Environment Laboratory, Department of Computer Science, Linköping University, Sweden
Daniel Rolls: School of Computer Science, University of Hertfordshire, United Kingdom
Jing Guo: School of Computer Science, University of Hertfordshire, United Kingdom
Peter Fritzson: Programming Environment Laboratory, Department of Computer Science, Linköping University, Sweden
Sven-Bodo Scholz: School of Computer Science, University of Hertfordshire, United Kingdom
Publication title:Compilation of Modelica Array Computations into Single Assignment C for Efficient Execution on CUDA-enabled GPUs
Conference:3rd International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools; Oslo; Norway; October 3
Publication type: Abstract and Fulltext
Issue:047
Article No.:009
Abstract:Mathematical models; derived for example from discretisation of partial differential equations; often contain operations over large arrays. In this work we investigate the possibility of compiling array operations from models in the equation-based language Modelica into Single Assignment C (SAC). The SAC2C SAC compiler can generate highly efficient code that; for instance; can be executed on CUDAenabled GPUs. We plan to enhance the open-source Modelica compiler OpenModelica; with capabilities to detect and compile data parallel Modelica for-equations/arrayequations into SAC WITH-loops. As a first step we demonstrate the feasibility of this approach by manually inserting calls to SAC array operations in the code generated from OpenModelica and show how capabilities and runtimes can be extended. As a second step we demostrate the feasibility of rewriting parts of the OpenModelica simulation runtime system in SAC. Finally; we discuss SAC2C’s switchable target architectures and demonstrate one by harnessing a CUDA-enabled GPU to improve runtimes. To the best of our knowledge; compilation of Modelica array operations for execution on CUDA-enabled GPUs is a new research area.
Language:English
Keywords:Single Assignment C; Modelica; data parallel programming; OpenModelica; CUDA; GPU; SAC
Year:2010
No. of pages:10
Pages:81-90
ISBN:978-91-7519-824-8
Series:Linköping Electronic Conference Proceedings
ISSN (print):1650-3686
ISSN (online):1650-3740
File:http://www.ep.liu.se/ecp/047/009/ecp4710009.pdf
Available:2010-09-21
Publisher:Linköping University Electronic Press; Linköpings universitet

REFERENCE TO THIS PAGE
Kristian Stavåker, Daniel Rolls, Jing Guo, Peter Fritzson, Sven-Bodo Scholz (2010). Compilation of Modelica Array Computations into Single Assignment C for Efficient Execution on CUDA-enabled GPUs, 3rd International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools; Oslo; Norway; October 3 http://www.ep.liu.se/ecp_article/index.en.aspx?issue=047;article=009 (accessed 11/29/2014)