liu.seSearch for publications in DiVA
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Compilation of modelica array computations into single assignment C for efficient execution on CUDA-enabled GPUs
Linköping University, Department of Computer and Information Science. (PELAB)
School of Computer Science, University of Hertfordshire, United Kingdom.
School of Computer Science, University of Hertfordshire, United Kingdom.
Linköping University, Department of Computer and Information Science. (PELAB)ORCID iD: 0000-0002-3435-4996
Show others and affiliations
2010 (English)In: Proceedings of the 3rd International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, EOOLT 2010 - In Conjunction with MODELS 2010, Linköping University Electronic Press , 2010, 81-90 p.Conference paper, Published paper (Refereed)
Abstract [en]

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 SAC2Cs 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.

Place, publisher, year, edition, pages
Linköping University Electronic Press , 2010. 81-90 p.
Series
Linköping Electronic Conference Proceedings, ISSN 1650-3686 (print), 1650-3740 (online)
Series
Proceedings of the 3rd International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, EOOLT 2010 - In Conjunction with MODELS 2010
Keyword [en]
CUDA; Data parallel programming; GPU; Modelica; OpenModelica; SAC; Single assignment C
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:liu:diva-100695ISBN: 978-91-7519-824-8 (print)OAI: oai:DiVA.org:liu-100695DiVA: diva2:663645
Conference
Workshop on Equation-Based Object-Oriented Modeling Languages and Tools, EOOLT 2010 - In Conjunction with MODELS 2010
Available from: 2013-11-12 Created: 2013-11-11 Last updated: 2015-05-28

Open Access in DiVA

No full text

Authority records BETA

Stavåker, KristianFritzson, Peter

Search in DiVA

By author/editor
Stavåker, KristianFritzson, Peter
By organisation
Department of Computer and Information Science
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar

isbn
urn-nbn

Altmetric score

isbn
urn-nbn
Total: 112 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • harvard1
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • oxford
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf