Skip to main content
Top

2021 | OriginalPaper | Chapter

The Compiler of DFC: A Source Code Converter that Transform the Dataflow Code to the Multi-threaded C Code

Authors : Zheng Du, Jing Zhang, Jinrong Li, Haixin Du, Jiwu Shu, Qiuming Luo

Published in: Parallel and Distributed Computing, Applications and Technologies

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The working principle of DFC compiler is introduced in this article. DFC is a grammatical extension of standard C language, with special DF function which describe the dependence of computing DAG. DFC compiler, dfcc, is used to convert the DFC source codes to standard C codes with the assistance of multi-threaded library. The lexical rules and grammatical rules are used to setup the AST of DFC codes, and then it is converted to the AST of standard C without DF function nodes. The derived AST is printed into a text file, a normal C file, and finally is processed by GCC to obtain the executable file. The experiment gives some demonstration of that converting details, and the memory footprint is studied to show an ideal scalability.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Sterling, T., Brodowicz, M., Anderson, M.: High Performance Computing: Modern Systems and Practices, pp. 616–618. Morgan Kaufmann, Cambridge (2018) Sterling, T., Brodowicz, M., Anderson, M.: High Performance Computing: Modern Systems and Practices, pp. 616–618. Morgan Kaufmann, Cambridge (2018)
6.
go back to reference Portero, A., Yu, Z., Giorgi, R.: Teraflux: exploiting tera-device computing challenges. Procedia CS 7, 146–147 (2011) Portero, A., Yu, Z., Giorgi, R.: Teraflux: exploiting tera-device computing challenges. Procedia CS 7, 146–147 (2011)
8.
go back to reference Chavarrias, M., Pescador, F., Juárez, E., Garrido, M.J.: An automatic tool for the static distribution of actors in RVC-CAL based multicore designs, Design of Circuits and Integrated Systems, Madrid, pp. 1–6 (2014) Chavarrias, M., Pescador, F., Juárez, E., Garrido, M.J.: An automatic tool for the static distribution of actors in RVC-CAL based multicore designs, Design of Circuits and Integrated Systems, Madrid, pp. 1–6 (2014)
9.
go back to reference Lin, H., Lin, Z., Diaz, J.M., Li, M., An, H., Gao, G.R.: swFLOW: a dataflow deep learning framework on Sunway TaihuLight Supercomputer. In: 2019 IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Zhangjiajie, China, pp. 2467–2475 (2019) Lin, H., Lin, Z., Diaz, J.M., Li, M., An, H., Gao, G.R.: swFLOW: a dataflow deep learning framework on Sunway TaihuLight Supercomputer. In: 2019 IEEE 21st International Conference on High Performance Computing and Communications; IEEE 17th International Conference on Smart City; IEEE 5th International Conference on Data Science and Systems (HPCC/SmartCity/DSS), Zhangjiajie, China, pp. 2467–2475 (2019)
10.
go back to reference Du, Z., Zhang, J., Sha, S., Luo, Q.: Implementing the matrix multiplication with DFC on Kunlun small scale computer. In: 2019 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT), Gold Coast, Australia, pp. 115–120 (2019) Du, Z., Zhang, J., Sha, S., Luo, Q.: Implementing the matrix multiplication with DFC on Kunlun small scale computer. In: 2019 20th International Conference on Parallel and Distributed Computing, Applications and Technologies (PDCAT), Gold Coast, Australia, pp. 115–120 (2019)
Metadata
Title
The Compiler of DFC: A Source Code Converter that Transform the Dataflow Code to the Multi-threaded C Code
Authors
Zheng Du
Jing Zhang
Jinrong Li
Haixin Du
Jiwu Shu
Qiuming Luo
Copyright Year
2021
DOI
https://doi.org/10.1007/978-3-030-69244-5_16

Premium Partner