arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.29604cs.DCcs.DScs.PF
收藏

TC-MIS:基于张量核心的最大独立集

TC-MIS: Maximal Independent Set on Tensor-cores

Indian Institute of Technology Jodhpur(印度焦浦尔理工学院)

Prajjwal Nijhara, Dip Sankar Banerjee

AI总结:

提出TC-MIS算法,利用张量核心将图最大独立集计算转化为稀疏矩阵向量乘法,在多种GPU架构上实现平均2.84倍至18.80倍的加速,最高达44.38倍,同时保持解质量与现有启发式方法相当。

摘要:

图中的最大独立集(MIS)是一个基本问题,在资源分配、调度和网络优化中具有应用。尽管图本质上非结构化,且由于不规则内存访问和工作负载不平衡对GPU并行性构成挑战,但专门的GPU算法已实现良好性能,可在毫秒内处理百万顶点图。现代GPU配备张量核心(TC),这是一种专用矩阵运算单元,其吞吐量比CUDA核心(CC)高8-16倍,广泛用于机器学习、深度学习和推理任务,但在图算法中仍基本未被探索。本文提出TC-MIS,一种TC加速算法,将MIS计算的关键阶段重新表述为稀疏矩阵向量乘法(SpMV)。TC-MIS对图邻接矩阵进行分块,并采用Warp矩阵乘累加(WMMA)操作,将不规则图遍历转化为规则的、大规模并行计算。我们在支持TC的微架构(Ampere、Ada Lovelace、Hopper、Blackwell)上的评估表明,与最先进方法相比,TC-MIS在RTX A5000上平均加速2.84倍,在L40S上加速4.84倍,在H200 GPU上加速18.80倍,在RTX 5080上加速5.20倍,在H200 GPU上最大加速达44.38倍,同时保持与产生近最大独立集的已有启发式方法相当的解质量。

英文摘要:

Maximal Independent Set (MIS) in a graph is a fundamental problem with applications in resource allocation, scheduling, and network optimization. Although graphs are inherently un-structured and challenging for GPU parallelism due to irregular memory access and workload imbalance, specialized GPU algorithms have achieved good performance, processing million-vertex graphs in milliseconds. Modern GPUs are equipped with Tensor Cores (TCs), specialized units for matrix operations with 8-16x higher throughput than CUDA Cores (CCs), which are extensively used for ML, DL, and inference tasks but remain largely unexplored for graph algorithms. In this paper, we present TC-MIS, a TC-accelerated algorithm that reformulates key phases of MIS computation as sparse matrix-vector multiplication (SpMV). TC-MIS tiles the graph adjacency matrix and employs Warp Matrix Multiply-Accumulate (WMMA) operations to transform irregular graph traversal into regular, massively parallel computation. Our evaluation across TC-enabled microarchitectures (Ampere, Ada Lovelace, Hopper, Blackwell) demonstrates that TC-MIS achieves an average speedup of 2.84x on RTX A5000, 4.84x on L40S, 18.80x on H200 GPUs, and 5.20x on RTX 5080 with a maximum speedup of 44.38x on H200 GPU over state-of-the-art methods, while maintaining solution quality comparable to that obtained by established heuristics that produce near-maximum independent sets.

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

↑