@article{Xu_Edahiro_Masaki_2021, title={Code Generation from Simulink Models with Task and Data Parallelism}, volume={21}, url={https://rajpub.com/index.php/ijct/article/view/9004}, DOI={10.24297/ijct.v21i.9004}, abstractNote={<p>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 a<br />method 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.</p>}, journal={INTERNATIONAL JOURNAL OF COMPUTERS & TECHNOLOGY}, author={Xu, Pin and Edahiro, Masato and Masaki, Kondo}, year={2021}, month={Apr.}, pages={1–13} }