arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1808.07788cs.DCcs.PL
收藏

探索约束处理规则的并行执行策略-进行中报告

Exploring Parallel Execution Strategies for Constraint Handling Rules - Work-in-Progress Report

Thom Frühwirth, Daniel Gall

摘要:

约束处理规则(英语:Constraint Handling Rules)是一种基于规则的声明性形式和语言。并发性是固有的,因为规则可以并行地应用于约束的子集。并行实现的可扩展性,无论是在软件中,它在硬件中,使用不同的执行策略,并行执行的可扩展性程序取决于实现语言。在这份报告中,我们的目标是从一个更一般的概念角度来分析并行执行的并行程序。我们想通过实验来看看,当并行程序自动并行化时,可能会发生什么。为了这个目的,一个顺序模拟的并行可执行系统编码不同的并行执行策略。在对文献中的一些典型示例的详尽实验中,可以将并行执行和顺序执行进行比较。处理器的数量可以是有界的或无界的,以便进行更多的理论分析。因此,对于不同的问题类别和一般情况,可以对执行策略的影响进行一些初步但具有指示性的观察。

英文摘要:

Constraint Handling Rules (CHR) is a declarative rule-based formalism and language. Concurrency is inherent as rules can be applied to subsets of constraints in parallel. Parallel implementations of CHR, be it in software, be it in hardware, use different execution strategies for parallel execution of CHR programs depending on the implementation language. In this report, our goal is to analyze parallel execution of CHR programs from a more general conceptual perspective. We want to experimentally see what is possible when CHR programs are automatically parallelized. For this purpose, a sequential simulation of parallel CHR execution is used to systematically encode different parallel execution strategies. In exhaustive experiments on some typical examples from the literature, parallel and sequential execution can be compared to each other. The number of processors can be bounded or unbounded for a more theoretical analysis. As a result, some preliminary but indicative observations on the influence of the execution strategy can be made for the different problem classes and in general.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑