索引递归方程的并行解

Gadi Haber, Y. Ben-Asher
{"title":"索引递归方程的并行解","authors":"Gadi Haber, Y. Ben-Asher","doi":"10.1109/IPPS.1997.580935","DOIUrl":null,"url":null,"abstract":"A new type of recurrence equations called \"indexed recurrences\" (IR) is defined in which the common notion of X[i]=op(X[i],X[i-1]) i=1...n is generalized to X[g(i)]=op(X[f(i)],X[h(i)]) f,g,h:{1...n}/spl rarr/{1...m}. This enables us to model sequential loops of the form for i=1 to n do begin X[g(i)]:=op(X[f(i)],X[h(i)];) as IR equations. Thus, a parallel algorithm that solves a set of IR equations is in fact a way to transform sequential loops into parallel ones. Note that the circuit evaluation problem (CVP) can also be expressed as a set of IR equations. Therefore an efficient parallel solution to the general IR problem is not likely to be found. As such solution would also solve the CVP, showing that P/spl sube/NC. In this paper we introduce parallel algorithms for two variants of the IR equations problem: An O(log n) greedy algorithm for solving IR equations where g(i) is distinct and h(i)=g(i) using O(n) processors. An O(log/sup 2/ n) algorithm with no restriction on f, g or h, using up to O(n/sup 2/) processors. However we show that for general IR, op must be commutative so that a parallel computation can be used.","PeriodicalId":145892,"journal":{"name":"Proceedings 11th International Parallel Processing Symposium","volume":"84 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1997-04-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Parallel solutions of indexed recurrence equations\",\"authors\":\"Gadi Haber, Y. Ben-Asher\",\"doi\":\"10.1109/IPPS.1997.580935\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"A new type of recurrence equations called \\\"indexed recurrences\\\" (IR) is defined in which the common notion of X[i]=op(X[i],X[i-1]) i=1...n is generalized to X[g(i)]=op(X[f(i)],X[h(i)]) f,g,h:{1...n}/spl rarr/{1...m}. This enables us to model sequential loops of the form for i=1 to n do begin X[g(i)]:=op(X[f(i)],X[h(i)];) as IR equations. Thus, a parallel algorithm that solves a set of IR equations is in fact a way to transform sequential loops into parallel ones. Note that the circuit evaluation problem (CVP) can also be expressed as a set of IR equations. Therefore an efficient parallel solution to the general IR problem is not likely to be found. As such solution would also solve the CVP, showing that P/spl sube/NC. In this paper we introduce parallel algorithms for two variants of the IR equations problem: An O(log n) greedy algorithm for solving IR equations where g(i) is distinct and h(i)=g(i) using O(n) processors. An O(log/sup 2/ n) algorithm with no restriction on f, g or h, using up to O(n/sup 2/) processors. However we show that for general IR, op must be commutative so that a parallel computation can be used.\",\"PeriodicalId\":145892,\"journal\":{\"name\":\"Proceedings 11th International Parallel Processing Symposium\",\"volume\":\"84 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1997-04-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings 11th International Parallel Processing Symposium\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/IPPS.1997.580935\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings 11th International Parallel Processing Symposium","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IPPS.1997.580935","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

摘要

定义了一类新的递归方程,称为“索引递归”(IR),其中X[i]=op(X[i],X[i-1]) i=1…n是广义X [g (i)] = op (X [f (i)], [h (i)]) f, g, h:{1…n} / spl rarr / {1 m…}。这使我们能够对i=1到n的形式的顺序循环进行建模,并开始X[g(i)]:=op(X[f(i)],X[h(i)];)作为IR方程。因此,解决一组IR方程的并行算法实际上是将顺序循环转换为并行循环的一种方法。注意,电路评估问题(CVP)也可以表示为一组IR方程。因此,一般红外问题的有效并行解决方案不太可能找到。这样的解决方案也可以解决CVP,表明P/spl sub /NC。本文介绍了求解IR方程问题的两种并行算法:一种用O(n)个处理器求解g(i)不同且h(i)=g(i)的IR方程的O(log n)贪婪算法。O(log/sup 2/ n)算法,不限制f, g或h,使用最多O(n/sup 2/)个处理器。然而,我们证明了对于一般IR, op必须是可交换的,以便可以使用并行计算。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Parallel solutions of indexed recurrence equations
A new type of recurrence equations called "indexed recurrences" (IR) is defined in which the common notion of X[i]=op(X[i],X[i-1]) i=1...n is generalized to X[g(i)]=op(X[f(i)],X[h(i)]) f,g,h:{1...n}/spl rarr/{1...m}. This enables us to model sequential loops of the form for i=1 to n do begin X[g(i)]:=op(X[f(i)],X[h(i)];) as IR equations. Thus, a parallel algorithm that solves a set of IR equations is in fact a way to transform sequential loops into parallel ones. Note that the circuit evaluation problem (CVP) can also be expressed as a set of IR equations. Therefore an efficient parallel solution to the general IR problem is not likely to be found. As such solution would also solve the CVP, showing that P/spl sube/NC. In this paper we introduce parallel algorithms for two variants of the IR equations problem: An O(log n) greedy algorithm for solving IR equations where g(i) is distinct and h(i)=g(i) using O(n) processors. An O(log/sup 2/ n) algorithm with no restriction on f, g or h, using up to O(n/sup 2/) processors. However we show that for general IR, op must be commutative so that a parallel computation can be used.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信