Procedia Computer Science · 2017 · 83 citations · 11 references
ComputingComputer ScienceHigh-performance ComputingComputer ArchitectureParallel ComputingScientific ComputingData ParallelismHardware AccelerationMatrix ComputationParallel ArchitecturesParallel Computing SystemsParallel Numerical Linear AlgebraComputational Linear AlgebraEfficient Resource UseHigh-performance Computing PerformanceHigh-performance Computing SystemsMatrix MultiplicationParallel Matrix ComputationParallel Matrix DecompositionParallel Matrix-vector Multiplication
A current trend in high-performance computing is to decompose a large linear algebra problem into batches containing thousands of smaller problems, that can be solved independently, before collating the results. To standardize the interface to these routines, the community is developing an extension to the BLAS standard (the batched BLAS), enabling users to perform thousands of small BLAS operations in parallel whilst making efficient use of their hardware. We discuss the benefits and drawbacks of the current batched BLAS proposals and perform a number of experiments, focusing on a general matrix-matrix multiplication (GEMM), to explore their affect on the performance. In particular we analyze the effect of novel data layouts which, for example, interleave the matrices in memory to aid vectorization and prefetching of data. Utilizing these modifications our code outperforms both MKL1 CuBLAS2 by up to 6 times on the self-hosted Intel KNL (codenamed Knights Landing) and Kepler GPU architectures, for large numbers of double precision GEMM operations using matrices of size 2 × 2 to 20 × 20.
11
TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems
Martı́n Abadi, Ashish Agarwal, Paul Barham et al. · arXiv (Cornell University) · 2016 · 9.8K citations · Full text
A set of level 3 basic linear algebra subprograms
Jack Dongarra, Jeremy Du Croz, Sven Hammarling et al. · ACM Transactions on Mathematical Software · 1990 · 1.8K citations · Full text
Static Analysis of Shape in TensorFlow Programs
arXiv (Cornell University) · 2016 · 1.7K citations · Full text
Basic Linear Algebra Subprograms for Fortran Usage
C. L. Lawson, Richard Hanson, David R. Kincaid et al. · ACM Transactions on Mathematical Software · 1979 · 1.6K citations · Full text