用于利用具有微核心架构的分层存储器的高级编程抽象
High level programming abstractions for leveraging hierarchical memories with micro-core architectures
摘要:
微核心架构将许多低内存、低功耗计算核心组合在单个封装中。这些作为加速器是有吸引力的,但由于有限的片上存储器和多层次的存储层次结构,程序员卸载内核的方式需要仔细考虑。在本文中,我们使用Python作为一种工具,探索更高层次的程序设计语言的语义和抽象,以支持卸载的计算内核到这些设备。通过转移到一个引址传递模型,以及利用内存种类,我们证明了能够轻松有效地利用多个层次的存储层次结构,甚至是那些不能直接访问的微核心。使用一个机器学习基准,我们进行实验的Epiphany-III和MicroBlaze的微核心,展示了计算能力与任意大的数据集大小。为了提供我们的研究结果,我们探索了这些技术的性能和功耗效率,证明了虽然这两种微内核技术在其自己的嵌入式硬件类别中具有竞争力,但要达到HPC级GPU还有一段路要走。
英文摘要:
Micro-core architectures combine many low memory, low power computing cores together in a single package. These are attractive for use as accelerators but due to limited on-chip memory and multiple levels of memory hierarchy, the way in which programmers offload kernels needs to be carefully considered. In this paper we use Python as a vehicle for exploring the semantics and abstractions of higher level programming languages to support the offloading of computational kernels to these devices. By moving to a pass by reference model, along with leveraging memory kinds, we demonstrate the ability to easily and efficiently take advantage of multiple levels in the memory hierarchy, even ones that are not directly accessible to the micro-cores. Using a machine learning benchmark, we perform experiments on both Epiphany-III and MicroBlaze based micro-cores, demonstrating the ability to compute with data sets of arbitrarily large size. To provide context of our results, we explore the performance and power efficiency of these technologies, demonstrating that whilst these two micro-core technologies are competitive within their own embedded class of hardware, there is still a way to go to reach HPC class GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。