Inclusive-PIM:面向商用 PIM 架构广泛加速的硬件-软件协同设计
Inclusive-PIM: Hardware-Software Co-design for Broad Acceleration on Commercial PIM Architectures
AI总结:
本文提出 Inclusive-PIM 硬件-软件协同设计方案,通过 PIM 适宜性测试和软硬件优化,将商用 PIM 架构的平均加速比从 1.12 倍提升至 2.49 倍,从而扩大其对跨领域原语的加速能力。
摘要:
对内存带宽的持续需求使得内存厂商重新评估存内处理(PIM)的价值,PIM 通过将计算单元放置在内存内部或附近来实现更高带宽。因此,内存厂商最近提出了具有商业可行性的 PIM 设计。然而,这些提案在很大程度上是由(一小组)机器学习(ML)原语的需求驱动的。虽然考虑到机器学习日益增长的重要性,这类提案是合理的,但由于内存是一种普遍存在的组件,因此有必要提出一种更具包容性的 PIM 设计,以加速跨领域的各种原语。\n\n在这项工作中,我们评估了商用 PIM 提案在加速跨领域各种原语方面的能力。我们首先概述一组称为 PIM 适宜性测试(PIM-amenability-test)的特征,该测试有助于评估给定原语是否可能被 PIM 加速。接下来,我们将该测试应用于所研究的原语,以确定高效的数据放置和编排方式,从而将这些原语映射到底层 PIM 架构。我们在此观察到,尽管所研究的原语在很大程度上具有 PIM 适宜性,但现有的商用 PIM 提案并未为这些原语实现其性能潜力。为了解决这一问题,我们识别了 PIM 执行中出现的瓶颈,并提出了硬件和软件优化方案,这些方案有望扩大商用 PIM 设计的加速覆盖范围(相对于 GPU 基线,将平均 PIM 加速比从 1.12 倍提高到 2.49 倍)。总体而言,虽然我们认为新兴的商用 PIM 提案在应用加速空间中增加了一个必要且互补的设计点,但硬件-软件协同设计对于广泛发挥其优势是必要的。
英文摘要:
Continual demand for memory bandwidth has made it worthwhile for memory vendors to reassess processing in memory (PIM), which enables higher bandwidth by placing compute units in/near-memory. As such, memory vendors have recently proposed commercially viable PIM designs. However, these proposals are largely driven by the needs of (a narrow set of) machine learning (ML) primitives. While such proposals are reasonable given the the growing importance of ML, as memory is a pervasive component, %in this work, we make there is a case for a more inclusive PIM design that can accelerate primitives across domains. In this work, we ascertain the capabilities of commercial PIM proposals to accelerate various primitives across domains. We first begin with outlining a set of characteristics, termed PIM-amenability-test, which aid in assessing if a given primitive is likely to be accelerated by PIM. Next, we apply this test to primitives under study to ascertain efficient data-placement and orchestration to map the primitives to underlying PIM architecture. We observe here that, even though primitives under study are largely PIM-amenable, existing commercial PIM proposals do not realize their performance potential for these primitives. To address this, we identify bottlenecks that arise in PIM execution and propose hardware and software optimizations which stand to broaden the acceleration reach of commercial PIM designs (improving average PIM speedups from 1.12x to 2.49x relative to a GPU baseline). Overall, while we believe emerging commercial PIM proposals add a necessary and complementary design point in the application acceleration space, hardware-software co-design is necessary to deliver their benefits broadly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。