arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1911.06895cs.DS
收藏

增量步进SSSP:从顶点和边到GraphBLAS的实现

Delta-stepping SSSP: from Vertices and Edges to GraphBLAS Implementations

Upasana Sridhar, Mark Blanco, Rahul Mayuranath, Daniele G. Spampinato, Tze Meng Low, Scott McMillan

摘要:

GraphBLAS是一个实现图形算法的接口。使用GraphBLAS接口实现的算法被转换为类似线性代数的运算。然而,许多图算法都是根据顶点和/或边的操作来规范地描述的。尽管这两种表示之间存在已知的二元性,但使用这两种方法描述算法的方式存在差异,这可能会给采用GraphBLAS作为标准开发接口带来相当大的困难。本文研究了一种系统的方法,用于将在规范顶点和边表示中描述的图形算法转换为利用GraphBLAS接口的实现。我们提出了一个两步的方法来解决这个问题。首先,我们使用线性代数语言表达常见的以顶点和边为中心的设计模式。其次,我们将此中间表示映射到GraphBLAS接口。我们通过将增量步进单源最短路径算法从其规范描述转换为GraphBLAS实现来说明我们的方法,并强调使用GraphBLAS实现时吸取的经验教训。

英文摘要:

GraphBLAS is an interface for implementing graph algorithms. Algorithms implemented using the GraphBLAS interface are cast in terms of linear algebra-like operations. However, many graph algorithms are canonically described in terms of operations on vertices and/or edges. Despite the known duality between these two representations, the differences in the way algorithms are described using the two approaches can pose considerable difficulties in the adoption of the GraphBLAS as standard interface for development. This paper investigates a systematic approach for translating a graph algorithm described in the canonical vertex and edge representation into an implementation that leverages the GraphBLAS interface. We present a two-step approach to this problem. First, we express common vertex- and edge-centric design patterns using a linear algebraic language. Second, we map this intermediate representation to the GraphBLAS interface. We illustrate our approach by translating the delta-stepping single source shortest path algorithm from its canonical description to a GraphBLAS implementation, and highlight lessons learned when implementing using GraphBLAS.

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

↑