避免通信的编程技术的高级特征和概括
A high-level characterisation and generalisation of communication-avoiding programming techniques
摘要:
当今硬件的并发性爆炸,加上我们在机器学习和科学模拟中建立的数据爆炸,对我们编写代码的方式产生了多方面的影响。它们改变了我们对性能的概念,因此也改变了我们对好代码的概念:好代码首先必须能够利用前所未有的并行性。要做到这一点,它必须设法将计算数据及时转移到计算设施中。由于通信和内存带宽无法跟上计算能力的增长,并且延迟增加-至少相对于硬件可以做的事情-避免通信的技术变得重要。本文对通信避免算法进行了分类和研究。通过我们的新术语对避免通信编程的一些例子进行了回顾,表明我们最好扩大我们的“避免通信”概念,并超越数值线性代数。这个术语的抽象、概括和弱化丰富了我们如何应对数据移动挑战的工具集。通过这一点,我们最终获得了一组更丰富的工具,我们可以使用这些工具为当前和即将到来的硬件代交付正确的代码。
英文摘要:
Today's hardware's explosion of concurrency plus the explosion of data we build upon in both machine learning and scientific simulations have multifaceted impact on how we write our codes. They have changed our notion of performance and, hence, of what a good code is: Good code has, first of all, to be able to exploit the unprecedented levels of parallelism. To do so, it has to manage to move the compute data into the compute facilities on time. As communication and memory bandwidth cannot keep pace with the growth in compute capabilities and as latency increases---at least relative to what the hardware could do---communication-avoiding techniques gain importance. We characterise and classify the field of communication-avoiding algorithms. A review of some examples of communication-avoiding programming by means of our new terminology shows that we are well-advised to broaden our notion of "communication-avoiding" and to look beyond numerical linear algebra. An abstraction, generalisation and weakening of the term enriches our toolset of how to tackle the data movement challenges. Through this, we eventually gain access to a richer set of tools that we can use to deliver proper code for current and upcoming hardware generations.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。