To respond to the intense computational load of deep neural networks, a plethora of domain-specific architectures have been introduced, such as Google Tensor Processing Units and NVIDIA Tensor Cores. A common feature of these architectures is a hardware circuit for efficiently computing a dense matrix multiplication of a given small size. In order to broaden the class of algorithms that exploit these systems, we propose a computational model, named the TCU model, that captures the ability to natively multiply small matrices. We then use the TCU model for designing fast algorithms for several problems, including matrix operations (dense and sparse multiplication, Gaussian Elimination), graph algorithms (transitive closure, all pairs shortest distances), Discrete Fourier Transform, stencil computations, integer multiplication, and polynomial evaluation. We finally highlight a relation between the TCU model and the external memory model.

Algorithm Design for Tensor Units / Chowdhury, R.; Silvestri, F.; Vella, F.. - ELETTRONICO. - 12820:(2021), pp. 353-367. (Intervento presentato al convegno 27th International European Conference on Parallel and Distributed Computing, Euro-Par 2021 tenutosi a Lisbona, Portugal nel 30 August – 3 September 2021) [10.1007/978-3-030-85665-6_22].

Algorithm Design for Tensor Units

Vella F.
2021-01-01

Abstract

To respond to the intense computational load of deep neural networks, a plethora of domain-specific architectures have been introduced, such as Google Tensor Processing Units and NVIDIA Tensor Cores. A common feature of these architectures is a hardware circuit for efficiently computing a dense matrix multiplication of a given small size. In order to broaden the class of algorithms that exploit these systems, we propose a computational model, named the TCU model, that captures the ability to natively multiply small matrices. We then use the TCU model for designing fast algorithms for several problems, including matrix operations (dense and sparse multiplication, Gaussian Elimination), graph algorithms (transitive closure, all pairs shortest distances), Discrete Fourier Transform, stencil computations, integer multiplication, and polynomial evaluation. We finally highlight a relation between the TCU model and the external memory model.
2021
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Berlin, Germany
Springer Science and Business Media Deutschland GmbH
978-3-030-85664-9
978-3-030-85665-6
Chowdhury, R.; Silvestri, F.; Vella, F.
Algorithm Design for Tensor Units / Chowdhury, R.; Silvestri, F.; Vella, F.. - ELETTRONICO. - 12820:(2021), pp. 353-367. (Intervento presentato al convegno 27th International European Conference on Parallel and Distributed Computing, Euro-Par 2021 tenutosi a Lisbona, Portugal nel 30 August – 3 September 2021) [10.1007/978-3-030-85665-6_22].
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11572/332834
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? 0
social impact