arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04556cs.DCcs.PFq-bio.QM
收藏

在 MI300A 上比较 PERMANOVA 的 CPU 与 GPU 计算

Comparing CPU and GPU compute of PERMANOVA on MI300A

Igor Sfiligoi

AI总结:

本文在统一 HBM 架构的 AMD MI300A 上评估内存受限的 PERMANOVA,发现 GPU 采用暴力实现显著快于已优化缓存局部性的 CPU 版本,且 SMT 收益明显。

摘要:

对于内存密集型算法,比较 CPU 与 GPU 计算之间的权衡往往颇具挑战,原因在于主机 CPU 与独立 GPU 的内存子系统存在巨大差异。AMD MI300A 是一个例外,因为它在单个封装内同时配备 CPU 核心和 GPU 核心,并且全部由相同类型的 HBM 内存提供支持。本文分析了置换多元方差分析(Permutational Multivariate Analysis of Variance,PERMANOVA)的性能;这是一种非参数方法,用于基于分类因子检验两个或更多对象组是否存在显著差异。该方法属于内存受限型,并且最近已针对 CPU 缓存局部性进行了优化。我们的测试表明,MI300A 上的 GPU 核心反而更适合暴力方法,其性能显著优于基于 CPU 的实现。同时,同步多线程(Simultaneous Multithreading,SMT)带来的显著收益也是一个令人欣喜的意外发现。

英文摘要:

Comparing the tradeoffs of CPU and GPU compute for memory-heavy algorithms is often challenging, due to the drastically different memory subsystems on host CPUs and discrete GPUs. The AMD MI300A is an exception, since it sports both CPU and GPU cores in a single package, all backed by the same type of HBM memory. In this paper we analyze the performance of Permutational Multivariate Analysis of Variance (PERMANOVA), a non-parametric method that tests whether two or more groups of objects are significantly different based on a categorical factor. This method is memory-bound and has been recently optimized for CPU cache locality. Our tests show that GPU cores on the MI300A prefer the brute force approach instead, significantly outperforming the CPU-based implementation. The significant benefit of Simultaneous Multithreading (SMT) was also a pleasant surprise.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑