Farms, pipes, streams and reforestation: reasoning about structured parallel processes using types and hylomorphisms
Farms, pipes, streams and reforestation: reasoning about structured parallel processes using types and hylomorphisms
复制标题
农场、管道、溪流和重新造林:使用类型和水态推理结构化并行过程
DOI:
10.1145/2951913.2951920
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Castro D
中科院分区:
文献类型:
--
作者:
Castro D
The increasing importance of parallelism has motivated the creation of better abstractions for writing parallel software, including structured parallelism using nested algorithmic skeletons. Such approaches provide high-level abstractions that avoid common problems, such as race conditions, and often allow strong cost models to be defined. However, choosing a combination of algorithmic skeletons that yields good parallel speedups for a program on some specific parallel architecture remains a difficult task. In order to achieve this, it is necessary to simultaneously reason both about the costs of different parallel structures and about the semantic equivalences between them. This paper presents a new type-based mechanism that enables strong static reasoning about these properties. We exploit well-known properties of a very general recursion pattern, hylomorphisms, and give a denotational semantics for structured parallel processes in terms of these hylomorphisms. Using our approach, it is possible to determine formally whether it is possible to introduce a desired parallel structure into a program without altering its functional behaviour, and also to choose a version of that parallel structure that minimises some given cost model.
登录
查看更多内容
影响因子:
1.1
作者:
T. Hardin
通讯作者:
T. Hardin
影响因子:
1.1
作者:
H. Yokouchi
通讯作者:
H. Yokouchi
DOI:
--
发表时间:
1998
期刊:
European Conference on Parallel Processing
影响因子:
--
作者:
G. Keller;M. Chakravarty
通讯作者:
M. Chakravarty
DOI:
--
发表时间:
2010
期刊:
Fuji International Symposium on Functional and Logic Programming
影响因子:
--
作者:
Akimasa Morihata;Kiminori Matsuzaki
通讯作者:
Kiminori Matsuzaki
DOI:
--
发表时间:
2001
期刊:
International Symposium on Implementation and Application of Functional Languages
影响因子:
--
作者:
Ricardo Peña;Clara Segura
通讯作者:
Clara Segura