The $k^2$-tree is a compact representation of Boolean matrices: it stores no values and no coordinates, and serves rows and columns alike. On a GPU, however, finding the children of a node takes rank queries that depend on one another, so a node-by-node descent spends its time waiting on memory. We present a GPU engine for sparse matrix-vector multiplication (SpMV) on $k^2$-trees. Since the positions of the children are the same for every vector, the engine visits the tree one level at a time and takes them from a prefix sum or from a directory sampled every 256 nodes, and working in tiles fixes the device memory of a product before it starts. One traversal yields products on either side, for one vector or a batch, over the plus-times, Boolean and tropical semirings. On fourteen graphs, the $k^2$-tree takes 2.3 to 27 times less space than the CSR of cuSPARSE and, in geometric mean, beats it on left products on an H100 and an NVIDIA GB10, and on right products on the GB10; the H100 also lets it multiply a crawl of the web with 92 billion links that does not fit in device memory.


翻译:暂无翻译

0
下载
关闭预览

相关内容

新书介绍 | 图算法指南,A Guide to Graph Algorithms
专知会员服务
57+阅读 · 2022年3月2日
开源书:PyTorch深度学习起步
专知会员服务
51+阅读 · 2019年10月11日
【SIGGRAPH2019】TensorFlow 2.0深度学习计算机图形学应用
专知会员服务
41+阅读 · 2019年10月9日
“推荐系统”加上“图神经网络”
机器学习与推荐算法
12+阅读 · 2020年3月23日
【 关关的刷题日记53】 Leetcode 100. Same Tree
专知
10+阅读 · 2017年12月1日
Spark机器学习:矩阵及推荐算法
LibRec智能推荐
16+阅读 · 2017年8月3日
Generative Adversarial Text to Image Synthesis论文解读
统计学习与视觉计算组
13+阅读 · 2017年6月9日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
VIP会员
最新内容
《评估人机编队性能的标准指标》
专知会员服务
15+阅读 · 11月30日
《美陆军装甲排的自动化任务分配模型》59页
专知会员服务
12+阅读 · 11月30日
乌克兰海陆空无人力量
专知会员服务
7+阅读 · 11月30日
超越技术:美战争部的AI变革管理
专知会员服务
11+阅读 · 11月27日
北约400亿美元反无人机能力投资建设
专知会员服务
9+阅读 · 11月25日
反小型无人机系统方案评估(27页)
专知会员服务
18+阅读 · 11月25日
相关VIP内容
新书介绍 | 图算法指南,A Guide to Graph Algorithms
专知会员服务
57+阅读 · 2022年3月2日
开源书:PyTorch深度学习起步
专知会员服务
51+阅读 · 2019年10月11日
【SIGGRAPH2019】TensorFlow 2.0深度学习计算机图形学应用
专知会员服务
41+阅读 · 2019年10月9日
相关资讯
“推荐系统”加上“图神经网络”
机器学习与推荐算法
12+阅读 · 2020年3月23日
【 关关的刷题日记53】 Leetcode 100. Same Tree
专知
10+阅读 · 2017年12月1日
Spark机器学习:矩阵及推荐算法
LibRec智能推荐
16+阅读 · 2017年8月3日
Generative Adversarial Text to Image Synthesis论文解读
统计学习与视觉计算组
13+阅读 · 2017年6月9日
From Softmax to Sparsemax-ICML16(1)
KingsGarden
74+阅读 · 2016年11月26日
相关基金
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员