SPARSE MATRIX OPTIMIZATION MECHANISM
To facilitate matrix processing by having a matrix accelerator examine received matrix data and optimize the processing tile size based on sparsity of the data.SOLUTION: A matrix accelerator is configured to receive input matrix data (2410), transform the input matrix data into a plurality of sub-bl...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; jpn |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | To facilitate matrix processing by having a matrix accelerator examine received matrix data and optimize the processing tile size based on sparsity of the data.SOLUTION: A matrix accelerator is configured to receive input matrix data (2410), transform the input matrix data into a plurality of sub-blocks (2420), examine a first block of the sub-blocks (2440) to determine whether the first block comprises sparse data (2450), select a first tile size upon determination that the first block comprises sparse data (2460), and generate output matrix data based on the first tile size (2470).SELECTED DRAWING: Figure 24
【課題】行列アクセラレータにおいて、受け取った行列データを検査し、データのスパース性に基づいて処理タイルサイズを最適化することにより、行列処理を容易にする。【解決手段】行列アクセラレータは、入力行列データを受け取り(2410)、該入力行列データを複数のサブブロックに変換し(2420)、該サブブロックの第1ブロックを検査して(2440)第1ブロックがスパースデータを含むかどうかを判断し(2450)、第1ブロックがスパースデータを含むと判断すると第1タイルサイズを選択し(2460)、第1タイルサイズに基づいて出力行列データを生成する(2470)。【選択図】図24 |
---|