计算机科学 > 分布式、并行与集群计算
[提交于 2016年6月17日]
标题:Tensor Contractions with Extended BLAS Kernels on CPU and GPU
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Tensor contractions constitute a key computational ingredient of numerical multi-linear algebra. However, as the order and dimension of tensors grow, the time and space complexities of tensor-based computations grow quickly. Existing approaches for tensor contractions typically involves explicit copy and transpose operations. In this paper, we propose and evaluate a new BLAS-like primitive STRIDEDBATCHEDGEMM that is capable of performing a wide range of tensor contractions on CPU and GPU efficiently. Through systematic benchmarking, we demonstrate the advantages of our approach over conventional approaches. Concretely, we implement the Tucker decomposition and show that using our kernels yields 100x speedup as compared to the implementation using existing state-of-the-art libraries.
提交历史
来自:Yang Shi[v1] 2016年6月17日 星期五 22:39:19 UTC