Sparse tensor operation acceleration method and system, computer equipment and storage medium

The invention relates to the field of sparse tensor operation acceleration, in particular to a sparse tensor operation acceleration method and system, computer equipment and a storage medium, and the method comprises the steps: reading compressed representation metadata information of two sparse ten...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHENG WEN, CHEN GUANG, SUN HONGJIANG, ZENG LINGFANG, LI YONG, YANG HESONG, CHEN CHEN, FAN WENJIE
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the field of sparse tensor operation acceleration, in particular to a sparse tensor operation acceleration method and system, computer equipment and a storage medium, and the method comprises the steps: reading compressed representation metadata information of two sparse tensors, determining a starting non-contraction dimension index and a terminating non-contraction dimension index of another corresponding sparse tensor when a non-zero element in each sparse tensor is marked as an invalid calculation element, and storing the starting non-contraction dimension index and the terminating non-contraction dimension index in an invalid calculation element marking range mapping table in the form of a key value pair; carrying out adaptive cooperative blocking on the two sparse tensors to obtain pre-blocking information of the two sparse tensors; obtaining a final block based on the invalid calculation element marking range mapping table and the pre-block information of the two sparse tensors