Heterogeneous Architectures Programming Library
العنوان: | Heterogeneous Architectures Programming Library |
---|---|
المؤلفون: | SPbU, Saint-Petersburg, Russia, G.V. Kirgizov, I.A. Kirilenko |
المصدر: | Труды Института системного программирования РАН, Vol 30, Iss 4, Pp 45-62 (2018) |
بيانات النشر: | Ivannikov Institute for System Programming of the Russian Academy of Sciences, 2018. |
سنة النشر: | 2018 |
مصطلحات موضوعية: | метапрограммирование, Programming language, Computer science, кодогенерация, computer.software_genre, lcsh:QA75.5-76.95, встроенный dsl, встроенные системы, гетерогенные системы, General Earth and Planetary Sciences, lcsh:Electronic computers. Computer science, Software_PROGRAMMINGLANGUAGES, Programming library, computer, General Environmental Science |
الوصف: | Embedded platforms with heterogeneous architecture, considered in this paper, consist of one primary and one or more secondary processors. Development of software systems for these platforms poses substantial difficulties, requiring a distinct set of tools for each constituent of the heterogeneous system. It also makes achieving high efficiency the more difficult task. Moreover, many use cases of embedded systems require runtime configuration, that cannot be easily achieved with usual approaches. This work presents a C-like metaprogramming DSL and a library that provides a unified interface for programming secondary processors of heterogeneous systems with this DSL. Together they help to resolve aforementioned problems. The DSL is embedded in C++ and allows to freely manipulate its expressions and thus embodies the idea of generative programming, when the expressive power of high-level C++ language is used to compose pieces of low-level DSL code. Together with other features, such as generic DSL functions, it makes the DSL a flexible and powerful tool for dynamic code generation. The approach behind the library is dynamic compilation: the DSL is translated to LLVM IR and then compiled to native executable code at runtime. It opens a possibility of dynamic code optimizations, e.g. runtime function specialization for specific parameters known only at runtime. Flexible library architecture allows simple extensibility to any target platform supported by LLVM. At the end of the paper a system approbation on different platforms and a demonstration of dynamic optimizations capability are presented. |
اللغة: | English |
تدمد: | 2220-6426 2079-8156 |
URL الوصول: | https://explore.openaire.eu/search/publication?articleId=doi_dedup___::e28ae732ea232ba3c805de2e16390db0 https://ispranproceedings.elpub.ru/jour/article/view/554 |
Rights: | OPEN |
رقم الانضمام: | edsair.doi.dedup.....e28ae732ea232ba3c805de2e16390db0 |
قاعدة البيانات: | OpenAIRE |
تدمد: | 22206426 20798156 |
---|