Interaction method and device of central processing unit and accelerator and electronic equipment
The invention provides a central processing unit and accelerator interaction method and device and electronic equipment, and the method comprises the steps: when it is determined that a data transmission demand exists, a command is sent to a register of an accelerator through a command interface, so...
Gespeichert in:
Hauptverfasser: | , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a central processing unit and accelerator interaction method and device and electronic equipment, and the method comprises the steps: when it is determined that a data transmission demand exists, a command is sent to a register of an accelerator through a command interface, so that the accelerator executes the command, and the register is a local random access memory in the accelerator; and receiving an execution result of executing the command by the accelerator. Therefore, the central processing unit can directly send the command to the accelerator through the command interface, receive the execution result fed back by the accelerator and complete data transmission, and the data transmission speed and efficiency can be improved.
本公开提出一种中央处理器与加速器交互方法、装置及电子设备,方法包括:确定存在数据传输需求时,通过命令接口发送命令至加速器的寄存器,以使所述加速器执行所述命令,其中所述寄存器为所述加速器内部的本地随机存取存储器;接收所述加速器执行所述命令的执行结果。由此,中央处理器可以通过命令接口直接向加速器发送命令,并接收加速器反馈的执行结果,完成数据传输,能够提高数据传输速度和效率。 |
---|