Code generation for complex subscripts in data-parallel programs

Author(s):  
J. Ramanujam ◽  
Swaroop Dutta ◽  
Arun Venkatachar
2021 ◽  
Vol 21 ◽  
pp. 1-13
Author(s):  
Pin Xu ◽  
Masato Edahiro ◽  
Kondo Masaki

In this paper, we propose a method to automatically generate parallelized code from Simulink models, while exploiting both task and data parallelism. Building on previous research, we propose a model-based parallelizer (MBP) that exploits task parallelism and assigns tasks to CPU cores using a hierarchical clustering method. We also propose amethod in which data-parallel SYCL code is generated from Simulink models; computations with data parallelism are expressed in the form of S-Function Builder blocks and are executed in a heterogeneous computing environment. Most parts of the procedure can be automated with scripts, and the two methods can be applied together. In the evaluation, the data-parallel programs generated using our proposed method achieved a maximum speedup of approximately 547 times, compared to sequential programs, without observable differences in the computed results. In addition, the programs generated while exploiting both task and data parallelism were confirmed to have achieved better performance than those exploiting either one of the two.


2010 ◽  
Vol 45 (5) ◽  
pp. 3-14 ◽  
Author(s):  
Mario Méndez-Lojo ◽  
Donald Nguyen ◽  
Dimitrios Prountzos ◽  
Xin Sui ◽  
M. Amber Hassaan ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document