SCRATCHPAD MEMORY-BASED METHOD FOR SHARING DATA, AND ELECTRONIC APPARATUS

The present disclosure relates to a scratchpad memory-based method for sharing data, and an electronic apparatus. The scratchpad memory-based method for sharing data comprises: allocating a virtual address area in virtual storage accessible by an accelerator system to a program on the basis of a def...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: QIU, Xiaogang, YAO, Fei, XU, Libao, YANG, Jingwei, CHANG, Liang, SANG, Yongqi, PENG, Yongchao
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present disclosure relates to a scratchpad memory-based method for sharing data, and an electronic apparatus. The scratchpad memory-based method for sharing data comprises: allocating a virtual address area in virtual storage accessible by an accelerator system to a program on the basis of a definition in the program, the virtual address area being mapped to any one of multiple physical storage devices, comprising a secondary cache and an external storage; configuring a scratchpad memory attribute for the virtual address area; and managing data shared between a first thread and a second thread in the program on the basis of the virtual address area. Also provided are a corresponding electronic apparatus, a computer-readable storage medium, a computer program product, and an accelerator system. Using an exemplary implementation of the present disclosure, storage space may be allocated from multiple physical storage devices for sharing data among multiple threads in a program. La présente divulgation concer