@inproceedings{9f7490e7e07b4901bc4db3bb0d344e1a,
title = "Halide Code Generation Framework in Phylanx",
abstract = "Separating algorithms from their computation schedule has become a de facto solution to tackle the challenges of developing high performance code on modern heterogeneous architectures. Common approaches include Domain-specific languages (DSLs) which provide familiar APIs to domain experts, code generation frameworks that automate the generation of fast and portable code, and runtime systems that manage threads for concurrency and parallelism. In this paper, we present the Halide code generation framework for Phylanx distributed array processing platform. This extension enables compile-time optimization of Phylanx primitives for target architectures. To accomplish this, (1) we implemented new Phylanx primitives using Halide, and (2) partially exported Halide{\textquoteright}s thread pool API to carry out parallelism on HPX (Phylanx{\textquoteright}s runtime) threads. (3) showcased HPX performance analysis tools made available to Halide applications. The evaluation of the work has been done in two steps. First, we compare the performance of Halide applications running on its native runtime with that of the new HPX backend to verify there is no cost associated with using HPX threads. Next, we compare performances of a number of original implementations of Phylanx primitives against the new ones in Halide to verify performance and portability benefits of Halide in the context of Phylanx.",
keywords = "AMT, DSL, HPX, Halide, Phylanx",
author = "R. Tohid and Shahrzad Shirzad and Christopher Taylor and Sakin, {Sayef Azad} and Isaacs, {Katherine E.} and Hartmut Kaiser",
note = "Publisher Copyright: {\textcopyright} 2023, The Author(s), under exclusive license to Springer Nature Switzerland AG.; 28th International European Conference on Parallel and Distributed Computing , Euro-Par 2022 ; Conference date: 22-08-2022 Through 26-08-2022",
year = "2023",
doi = "10.1007/978-3-031-31209-0_3",
language = "English (US)",
isbn = "9783031312083",
series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
publisher = "Springer Science and Business Media Deutschland GmbH",
pages = "32--45",
editor = "Jeremy Singer and Yehia Elkhatib and {Blanco Heras}, Dora and Patrick Diehl and Nick Brown and Aleksandar Ilic",
booktitle = "Euro-Par 2022",
address = "Germany",
}