Compiling method and device adaptive to hardware architecture

The invention discloses a compiling method and device adaptive to a hardware architecture. The method comprises the steps that a default configuration file is read, wherein the default configuration file records default input configuration in a compiling process; at least one part of the default inp...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: ZHAO WENHENG
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 discloses a compiling method and device adaptive to a hardware architecture. The method comprises the steps that a default configuration file is read, wherein the default configuration file records default input configuration in a compiling process; at least one part of the default input configuration in the default configuration file is overwritten according to a current configuration input file under a directory of a current module to obtain an overwritten configuration file, wherein the overwritten configuration file contains processor architecture relevant information of a target running device; the processor architecture relevant information is analyzed to compile a processor architecture adaptive to the target running device, and control information adaptive to the processor architecture of the target running device is obtained; and a compiling script of the current module is run, at least one part of a source file of the current module is compiled according to the control information, and