Back to Search Start Over

A multi-dimensional Morton-ordered block storage for mode-oblivious tensor computations.

Authors :
Pawłowski, Filip
Uçar, Bora
Yzelman, Albert-Jan
Source :
Journal of Computational Science; Apr2019, Vol. 33, p34-44, 11p
Publication Year :
2019

Abstract

• Morton order based storage and algorithms for dense tensor operations. • Efficient tensor–vector multiplication using blocked Morton order storage. • Mode oblivious algorithms. Computation on tensors, treated as multidimensional arrays, revolve around generalized basic linear algebra subroutines (BLAS). We propose a novel data structure in which tensors are blocked and blocks are stored in an order determined by Morton order. This is not only proposed for efficiency reasons, but also to induce efficient performance regardless of which mode a generalized BLAS call is invoked for; we coin the term mode-oblivious to describe data structures and algorithms that induce such behavior. Experiments on one of the most bandwidth-bound generalized BLAS kernel, the tensor–vector multiplication, not only demonstrate superior performance over two state-of-the-art variants by up to 18%, but additionally show that the proposed data structure induces a 71% less sample standard deviation for tensor–vector multiplication across d modes, where d varies from 2 to 10. Finally, we show our data structure naturally expands to other tensor kernels and demonstrate up to 38% higher performance for the higher-order power method. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
18777503
Volume :
33
Database :
Supplemental Index
Journal :
Journal of Computational Science
Publication Type :
Periodical
Accession number :
136615098
Full Text :
https://doi.org/10.1016/j.jocs.2019.02.007