Fast Strassen-based A^t A Parallel Multiplication

02/06/2019
by   Viviana Arrigoni, et al.
0

Matrix multiplication A^t A appears as intermediate operation during the solution of a wide set of problems. In this paper, we propose a new cache-oblivious algorithm for the A^t A multiplication. Our algorithm, A𝖳A, calls classical Strassen's algorithm as sub-routine, decreasing the computational cost performed products) of the conventional A^t A multiplication to 2/7n^log_2 7. It works for generic rectangular matrices and exploits the peculiar symmetry of the resulting product matrix for sparing memory. We used the MPI paradigm to implement A𝖳A in parallel, and we tested its performances on a small subset of nodes of the Galileo cluster. Experiments highlight good scalability and speed-up, also thanks to minimal number of exchanged messages in the designed communication system. Parallel overhead and inherently sequential time fraction are negligible in the tested configurations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/25/2021

Efficiently Parallelizable Strassen-Based Multiplication of a Matrix by its Transpose

The multiplication of a matrix by its transpose, A^T A, appears as an in...
research
05/11/2017

Cache-oblivious Matrix Multiplication for Exact Factorisation

We present a cache-oblivious adaptation of matrix multiplication to be i...
research
11/25/2022

Secure Distributed Gram Matrix Multiplication

The Gram matrix of a matrix A is defined as AA^T (or A^TA). Computing th...
research
11/13/2019

Improving the Space-Time Efficiency of Processor-Oblivious Matrix Multiplication Algorithms

Classic cache-oblivious parallel matrix multiplication algorithms achiev...
research
01/13/2020

On fast multiplication of a matrix by its transpose

We present a non-commutative algorithm for the multiplication of a 2x2-b...
research
11/27/2018

A Note on Random Sampling for Matrix Multiplication

This paper extends the framework of randomised matrix multiplication to ...
research
10/12/2021

Extending the R Language with a Scalable Matrix Summarization Operator

Analysts prefer simpler interpreted languages to program their computati...

Please sign up or login with your details

Forgot password? Click here to reset