Instruction compiling method and device, graphic processing unit and storage medium

The invention provides an instruction compiling method and device, a graphic processing unit and a storage medium, and the graphic processing unit comprises a scheduling executor which is used for receiving a vertex output instruction, and the vertex output instruction comprises a vertex identifier;...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: QUE HENG, ZHANG ZUYING, ZHU KANGTING, SUN PENG
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 provides an instruction compiling method and device, a graphic processing unit and a storage medium, and the graphic processing unit comprises a scheduling executor which is used for receiving a vertex output instruction, and the vertex output instruction comprises a vertex identifier; and the vertex data output module is used for writing attribute data into a storage position in a vertex buffer area corresponding to the vertex identifier according to the vertex output instruction. According to the method, GPR resources occupied by the vertex can be saved, and the GPU performance is improved; in addition, the flexibility of instruction generation can be improved, and the storage of the attribute data of the vertex has higher flexibility. 本申请提供了一种指令编译方法及装置、图形处理单元、存储介质,图形处理单元包括:调度执行器,用于接收顶点输出指令,所述顶点输出指令包括顶点标识;顶点数据输出模块,用于根据所述顶点输出指令将属性数据写入所述顶点标识对应的顶点缓冲区中的存储位置。本申请能够节省顶点占用的GPR资源,提升GPU性能;此外,还能够提升指令生成的灵活性,以及使得顶点的属性数据的存储具有更高的灵活性。