超宽字模型中的算法
Algorithms in the Ultra-Wide Word Model
摘要:
在当前的多核并行架构中,有效地使用并行计算资源来加速算法仍然是一个困难的挑战,易于编程在各种并行架构的最终成功中起着关键作用。在本文中,我们考虑一个超宽字处理器的形式并行的另一种观点。我们介绍了超宽字的体系结构和模型,字RAM模型的扩展,允许恒定的时间操作上千位并行。字-RAM模型所利用的字并行性不受并行编程的更困难方面的影响,即同步和并发。对于标准的字RAM算法,所获得的加速比是适度的,因为它们受到字大小的限制。我们认为,一个大类的字RAM算法可以实现在超宽字模型,获得加速比多线程计算,同时保持编程的顺序RAM模型的简单性。我们表明,这是通过描述实现超宽字算法的动态规划和字符串搜索的情况。此外,我们表明,超宽字模型可以用来实现一个非标准的内存架构,这使得回避重要的数据结构问题,如优先级队列和动态前缀总和的下限。虽然在多媒体处理器[Thorup 2003]的上下文中已经提到了类似的想法,但直到最近,我们提出的架构才变得可行,并且可以制定细节。
英文摘要:
The effective use of parallel computing resources to speed up algorithms in current multi-core parallel architectures remains a difficult challenge, with ease of programming playing a key role in the eventual success of various parallel architectures. In this paper we consider an alternative view of parallelism in the form of an ultra-wide word processor. We introduce the Ultra-Wide Word architecture and model, an extension of the word-RAM model that allows for constant time operations on thousands of bits in parallel. Word parallelism as exploited by the word-RAM model does not suffer from the more difficult aspects of parallel programming, namely synchronization and concurrency. For the standard word-RAM algorithms, the speedups obtained are moderate, as they are limited by the word size. We argue that a large class of word-RAM algorithms can be implemented in the Ultra-Wide Word model, obtaining speedups comparable to multi-threaded computations while keeping the simplicity of programming of the sequential RAM model. We show that this is the case by describing implementations of Ultra-Wide Word algorithms for dynamic programming and string searching. In addition, we show that the Ultra-Wide Word model can be used to implement a nonstandard memory architecture, which enables the sidestepping of lower bounds of important data structure problems such as priority queues and dynamic prefix sums. While similar ideas about operating on large words have been mentioned before in the context of multimedia processors [Thorup 2003], it is only recently that an architecture like the one we propose has become feasible and that details can be worked out.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。