CN111208994B - Execution method and device of computer graphics application program and electronic equipment - Google Patents

Execution method and device of computer graphics application program and electronic equipment Download PDF

Info

Publication number
CN111208994B
CN111208994B CN201911414651.4A CN201911414651A CN111208994B CN 111208994 B CN111208994 B CN 111208994B CN 201911414651 A CN201911414651 A CN 201911414651A CN 111208994 B CN111208994 B CN 111208994B
Authority
CN
China
Prior art keywords
command
graphic
graphic command
graphics
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911414651.4A
Other languages
Chinese (zh)
Other versions
CN111208994A (en
Inventor
薛凌艺
孙琳娜
纪楠
张宏伟
苏东阁
田珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Xiangteng Microelectronics Technology Co Ltd
Original Assignee
Xian Xiangteng Microelectronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Xiangteng Microelectronics Technology Co Ltd filed Critical Xian Xiangteng Microelectronics Technology Co Ltd
Priority to CN201911414651.4A priority Critical patent/CN111208994B/en
Publication of CN111208994A publication Critical patent/CN111208994A/en
Application granted granted Critical
Publication of CN111208994B publication Critical patent/CN111208994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses an execution method of a computer graphic application program, which is applied to a graphic processor, wherein the graphic processor is provided with a plurality of first graphic commands and second graphic commands; the first statistic of the first graphic command is greater than the second statistic; the second statistical value of the second graphic command is greater than the first statistical value; the first statistic is a statistic of the number of times the graphic command is called; the second statistical value is the statistical value of the number of times the input parameter of the graphic command is subjected to operation by the hardware logic; the method comprises the following steps: sequentially executing all instructions contained in the application program; when an instruction containing a first graphic command is executed, input parameters of the first graphic command are converted into a preset format by hardware logic and then put into operation; when the instruction containing the second graphic command is executed, the input parameters of the second graphic command are calculated by hardware logic after being converted into a preset format by the second graphic command. The invention can improve the execution efficiency of the application program.

Description

Execution method and device of computer graphics application program and electronic equipment
Technical Field
The invention belongs to the technical field of computer graphics, and particularly relates to a method and a device for executing a computer graphics application program and electronic equipment.
Background
In the field of computer graphics technology, a large number of graphics commands are supported in a graphics processor; the user may write an application using graphics commands provided by the graphics processor. Wherein in a user-written application, input parameters of the graphics commands are given by the user.
In the related art, a method for executing an application program by a graphic processor includes: sequentially executing all instructions contained in the application program; when any instruction containing a graphic command is executed, the input parameters of the graphic command contained in the instruction are converted into a preset format by the hardware logic of the graphic processor and then put into operation. Here, the predetermined format is a format suitable for hardware logic of the graphic processor to perform an operation.
However, since it takes a certain time period for the hardware logic to convert the input parameters given by the user into the specified format, the execution efficiency of the existing application program is low.
Disclosure of Invention
In order to solve the above problems in the prior art, the present invention provides a method, an apparatus, and an electronic device for executing a computer graphics application program. The technical problems to be solved by the invention are realized by the following technical scheme:
In a first aspect, an embodiment of the present invention provides a method for executing a computer graphics application, where the method is applied to a graphics processor, where the graphics processor has a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistic is: statistics of the number of times a graphics command is invoked by a plurality of preset applications executed in advance; the second statistical value is: when the input parameters of the graphic command are called by the plurality of preset application programs, calculating statistics of times of hardware logic input operation of the graphic processor; wherein any one of the graphics commands is a first graphics command or a second graphics command;
the method comprises the following steps:
sequentially executing all instructions contained in the application program; when any instruction containing the first graphic command is executed, the input parameters of the first graphic command contained in the instruction are converted into a preset format by the hardware logic of the graphic processor and then put into operation; when any instruction containing the second graphic command is executed, the input parameters of the second graphic command contained in the instruction are calculated by the hardware logic after being converted into the preset format by the second graphic command; the predetermined format is a format suitable for hardware logic to perform operations.
In one embodiment of the present invention, the first statistic value of each first graphic command is greater than the second statistic value of the first graphic command multiplied by the value corresponding to the preset multiple of the first graphic command;
the second statistic value of each second graphic command is larger than the value obtained by multiplying the first statistic value of the second graphic command by the preset multiple corresponding to the second graphic command.
In one embodiment of the present invention, the graphic processor further has a plurality of preset third graphic commands; the first statistic value of each third graphic command is greater than the value obtained by dividing the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command and is less than the value obtained by multiplying the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command;
when any instruction containing the third graphic command is executed, the input parameters of the third graphic command contained in the instruction are converted into the preset format by the format conversion main body corresponding to the third graphic command, and then are put into operation by the hardware logic;
wherein any one of the graphics commands is a first graphics command, a second graphics command, or a third graphics command; the format conversion body corresponding to any third graphic command is the hardware logic of the graphic processor or the third graphic command.
In one embodiment of the present invention, the preset multiple corresponding to each first graphics command is equal to a conversion duration that is consumed when the input parameter of the first graphics command is converted into the predetermined format by the hardware logic, where the conversion duration is acquired in advance;
the preset multiple corresponding to each second graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the second graphic command are converted into the preset format;
the preset multiple corresponding to each third graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the third graphic command are converted into the preset format.
In one embodiment of the present invention, the format conversion body corresponding to any one of the third graphics commands is predetermined as follows:
when the third graphic command corresponds to different format conversion main bodies, consumption when an instruction containing the third graphic command is executed is acquired; the consumption includes a total length of time and computing resources consumed in executing the instructions of the third graphics command;
if the consumption of the format conversion body corresponding to the third graphic command is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the third graphic command, determining that the format conversion body corresponding to the third graphic command is the third graphic command;
If the format conversion body corresponding to the third graphic command is the consumption of the third graphic command and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the hardware logic, determining that the format conversion body corresponding to the third graphic command is the hardware logic.
In a second aspect, an embodiment of the present invention provides an execution apparatus of a computer graphics application, applied to a graphics processor, where the graphics processor has a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistic is: statistics of the number of times the first or second graphics commands are invoked by a plurality of preset applications executed in advance; the second statistical value is: when the input parameters of the first graphic command or the input parameters of the second graphic command are called by the plurality of preset application programs, calculating statistics of the number of times of hardware logic input operation of the graphic processor;
The device comprises:
the execution module is used for sequentially executing all instructions contained in the application program; when any instruction containing the first graphic command is executed, the input parameters of the first graphic command contained in the instruction are converted into a preset format by the hardware logic of the graphic processor and then put into operation; when any instruction containing the second graphic command is executed, the input parameters of the second graphic command contained in the instruction are calculated by the hardware logic after being converted into the preset format by the second graphic command; the predetermined format is a format suitable for hardware logic to perform operations.
In one embodiment of the present invention, the first statistic value of each first graphic command is greater than the second statistic value of the first graphic command multiplied by the value corresponding to the preset multiple of the first graphic command;
the second statistic value of each second graphic command is larger than the value obtained by multiplying the first statistic value of the second graphic command by the preset multiple corresponding to the second graphic command.
In one embodiment of the present invention, the graphic processor further has a plurality of preset third graphic commands; the first statistic value of each third graphic command is greater than the value obtained by dividing the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command and is less than the value obtained by multiplying the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command;
When any instruction containing the third graphic command is executed, the input parameters of the third graphic command contained in the instruction are converted into the preset format by the format conversion main body corresponding to the third graphic command, and then are put into operation by the hardware logic;
wherein any one of the graphics commands is a first graphics command, a second graphics command, or a third graphics command; the format conversion body corresponding to any third graphic command is the hardware logic of the graphic processor or the third graphic command.
In one embodiment of the present invention, the format conversion body corresponding to any one of the third graphics commands is predetermined as follows:
when the third graphic command corresponds to different format conversion main bodies, consumption when an instruction containing the third graphic command is executed is acquired; the consumption includes a total length of time and computing resources consumed in executing the instructions of the third graphics command;
if the consumption of the format conversion body corresponding to the third graphic command is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the third graphic command, determining that the format conversion body corresponding to the third graphic command is the third graphic command;
If the format conversion body corresponding to the third graphic command is the consumption of the third graphic command and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the hardware logic, determining that the format conversion body corresponding to the third graphic command is the hardware logic.
In one embodiment of the present invention, the preset multiple corresponding to each first graphics command is equal to a conversion duration that is consumed when the input parameter of the first graphics command is converted into the predetermined format by the hardware logic, where the conversion duration is acquired in advance;
the preset multiple corresponding to each second graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the second graphic command are converted into the preset format;
the preset multiple corresponding to each third graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the third graphic command are converted into the preset format.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
A memory for storing a computer program;
and the processor is used for realizing the method steps of the execution method of any computer graphics application program when executing the program stored in the memory.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the method steps of the method for executing any one of the computer graphics application programs described above.
In yet another aspect of embodiments of the present invention, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the method steps of the method of executing any of the computer graphics applications described above.
The invention has the beneficial effects that:
in the method for executing the computer graphics application program provided by the embodiment of the invention, a graphics processor is provided with a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistical value is: statistics of the number of times the first or second graphics commands are invoked by a plurality of preset applications executed in advance; the second statistic is: when the input parameters of the first graphic command or the input parameters of the second graphic command are called by the plurality of preset application programs, calculating statistics of times of hardware logic input operation of the graphic processor; thus, when the graphics processor executes the application program written by the first graphics command and the second graphics command, if an instruction contains the first graphics command, the input parameters of the first graphics command contained in the instruction are converted into a preset format by the hardware logic of the graphics processor and then put into operation; if the instruction contains the second graphic command, the input parameters of the second graphic command contained in the instruction are calculated by hardware logic after being converted into the preset format by the second graphic command. It can be seen that, in the execution method of the computer graphics application provided in the embodiment of the present invention, for the second graphics command that frequently participates in the operation of the hardware logic, the input parameter is directly converted into the predetermined format suitable for the execution of the operation by the hardware logic in the second graphics command, so that the time consumed by the hardware logic to convert the input parameter into the predetermined format when executing the instruction including the second graphics command is reduced; therefore, the execution method of the computer graphics application program provided by the embodiment of the invention can improve the execution efficiency of the application program.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Drawings
FIG. 1 is a flow chart of a method for executing a computer graphics application program according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method of pre-processing each graphics command in the graphics processor as a first graphics command, a second graphics command, or a third graphics command in the method of FIG. 1;
FIG. 3 is a schematic diagram of an execution device of a computer graphics application according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples, but embodiments of the present invention are not limited thereto.
In order to improve the execution efficiency of an application program, the embodiment of the invention provides an execution method and device of a computer graphics application program and electronic equipment.
The execution main body of the execution method of the computer graphics application program provided by the embodiment of the invention can be an execution device of the computer graphics application program, and the device can be applied to a graphics processor; the graphics processor may be employed in an electronic device; in a specific application, the electronic device may be a desktop computer, a portable computer, an intelligent mobile terminal or a server, etc. Any electronic device capable of implementing the present invention is not limited herein, and falls within the scope of the present invention.
In the execution method of the computer graphics application program provided by the embodiment of the invention, the application program is written by using the graphics command of the graphics processor; alternatively, the application is written using graphics commands supported by the graphics processor; specifically, the instructions contained in the application program may be written using graphics commands supported by the graphics processor; wherein the graphics commands used in any application may be selected from a plurality of first graphics commands and a plurality of second graphics commands supported by the graphics processor. Wherein the first graphics command and the second graphics command differ in that: the first statistic value of the first graphic command is larger than the second statistic value, and the second statistic value of the second graphic command is larger than the first statistic value; wherein the first statistic is: statistics of the number of times a graphics command is invoked by a plurality of preset applications executed in advance; the second statistic is: when the input parameters of the graphic command are called by the preset application programs, statistics of the number of times of operation are put into the hardware logic of the graphic processor.
It will be appreciated that the first graphics command belongs to a graphics command that is frequently invoked by a user, but the number of operations of the input parameter participating in the hardware logic is not great; the second graphics command is opposite to the first graphics command, and the number of times called by the user is not large, but the number of times the input parameter participates in the operation of the hardware logic is large. Here, the graphical command is invoked by a user, specifically, when the user writes an application, and the term "application" as used herein refers broadly to any application that may be run in a graphics processor.
Wherein the first statistic value and the second statistic value of the graphic command are obtained by statistics in advance before starting to execute the application program; specifically, executing a plurality of preset application programs in the graphics processor, wherein the preset application programs comprise various graphics commands provided by the graphics processor; and acquiring and counting the number of times each graphic command is called from the execution results of the preset application programs to obtain a first statistical value of the graphic command, and acquiring and counting the number of times the graphic command is subjected to operation by hardware logic of a graphic processor to obtain a second statistical value of the graphic command. Further, each graphics command is processed as either a first graphics command or a second graphics command based on the first statistic and the second statistic for the graphics command. For clarity of solution and clarity of layout, a specific implementation of processing the graphics commands into the first graphics command or the second graphics command will be described below as an example.
First, a detailed description will be given of an execution method of the computer graphics application program provided by the embodiment of the present invention. As shown in fig. 1, the method may include the steps of:
s10: sequentially executing all instructions contained in the application program; when any instruction containing a first graphic command is executed, the input parameters of the first graphic command contained in the instruction are converted into a preset format by hardware logic of a graphic processor and then put into operation; when any instruction containing a second graphic command is executed, the input parameters of the second graphic command contained in the instruction are input and calculated by the hardware logic after being converted into a preset format by the second graphic command; the predetermined format is a format suitable for hardware logic to perform operations.
Wherein the input parameters of the graphics commands are given by the user when writing the application. It will be appreciated that, since the numerical range or data format of the input parameters given by the user does not necessarily conform to the operation requirements of the hardware logic of the graphics processor, the input parameters of the image command may be converted into a predetermined format suitable for the hardware logic to perform the operation before the input parameters are put into operation by the hardware logic. Specifically, for the first graphics command, the input parameters are converted into a predetermined format by hardware logic and then put into operation; thus, when the input parameters of the first graphic command participate in the operation of the hardware logic each time, the hardware logic performs format conversion on the input parameters and then participates in the operation; for the second graphics command, the input parameters are converted into a predetermined format by the second graphics command itself; thus, when the input parameters of the first graphic command participate in the operation of the hardware logic each time, the input parameters are converted into the preset format, the operation can be directly participated in, the hardware logic is not required to repeatedly convert the input parameters into the preset format, and the time consumed by format conversion is saved.
It can be understood that, since the first graphics command is often called by the user, but the number of times of the input parameter participating in the operation of the hardware logic is not very large, the hardware logic performs the format conversion on the input parameter of the first graphics command and then performs the operation, so that much time introduced by the format conversion on the input parameter by the hardware logic is not consumed. Since the input parameters of the second graphic command participate in the operation of the hardware logic for a large number of times, the time consumed by the hardware logic for repeatedly converting the input parameters can be saved after the input parameters are converted into the predetermined format by the second graphic command itself.
In practical applications, the graphics commands supported by the graphics processor are generally the same as the first graphics commands, i.e., the input parameters of these graphics commands are converted by hardware logic into a predetermined format and then put into operation. In order to increase the execution efficiency of the application, such graphics commands may be rewritten when the second statistic is greater than the first statistic. Specifically, for each graphics command to be rewritten, a code for converting an input parameter into a predetermined format is added to the command code of the graphics command, to obtain a rewritten graphics command. At this time, the overwrite graphic command becomes a second graphic command.
In the execution method of the computer graphics application program provided by the embodiment of the invention, a graphics processor supports a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistical value is: statistics of the number of times the first or second graphics commands are invoked by a plurality of preset applications executed in advance; the second statistic is: when the input parameters of the first graphic command or the input parameters of the second graphic command are called by the plurality of preset application programs, calculating statistics of times of hardware logic input operation of the graphic processor; thus, when the graphics processor executes the application program written by the first graphics command and/or the second graphics command, if an instruction contains the first graphics command, the input parameters of the first graphics command contained in the instruction are converted into a preset format by the hardware logic of the graphics processor and then put into operation; if the instruction contains the second graphic command, the input parameters of the second graphic command contained in the instruction are calculated by hardware logic after being converted into the preset format by the second graphic command. It can be seen that, in the execution method of the computer graphics application provided in the embodiment of the present invention, for the second graphics command that frequently participates in the operation of the hardware logic, the input parameter is directly converted into the predetermined format suitable for the execution of the operation by the hardware logic in the second graphics command, so that the time consumed by the hardware logic to convert the input parameter into the predetermined format when executing the instruction including the second graphics command is reduced; therefore, the execution method of the computer graphics application program provided by the embodiment of the invention can improve the execution efficiency of the application program.
In order to further improve the execution efficiency of the application program, in the execution method of the computer graphics application program provided by the embodiment of the invention, the first statistic value of each first graphics command may be specifically greater than the value obtained by multiplying the second statistic value of the first graphics command by the preset multiple corresponding to the first graphics command; the second statistic value of each second graphic command is specifically greater than the value obtained by multiplying the first statistic value of the second graphic command by the preset multiple corresponding to the second graphic command.
It will be appreciated that in this embodiment, the first statistic of the first graphics command is substantially greater than the second statistic, and the second statistic of the second graphics command is substantially greater than the first statistic. That is, in this embodiment, the number of times the first graphics command preset in the graphics processor is invoked by the user is much greater than the number of times the input parameter of the first graphics command participates in the operation of the hardware logic; the number of times the input parameters of the second graphic command preset in the graphic processor participate in the operation of the hardware logic is far greater than the number of times the second graphic command is called by the user. Thus, when the application program is executed, for the first graphic command, the hardware logic performs format conversion on the input parameters and then participates in operation more reasonably; for the second graphic command, the input parameters are directly involved in the operation of the hardware logic after being converted into the preset format by the second graphic command, so that the time consumed by the hardware logic for performing a large amount of repeated format conversion on the input parameters can be saved.
In addition, in the method for executing the computer graphics application program provided by the embodiment of the invention, a plurality of preset third graphics commands can be further provided; the first statistic value of each third graphic command is greater than the value obtained by dividing the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command and is less than the value obtained by multiplying the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command;
correspondingly, when any instruction containing a third graphic command is executed, the input parameters of the third graphic command contained in the instruction are converted into a preset format by a format conversion main body corresponding to the third graphic command and then are put into operation by hardware logic;
at this time, any one of the graphic commands supported by the graphic processor may be a first graphic command, a second graphic command, or a third graphic command; the format conversion body corresponding to any third graphic command is the hardware logic of the graphic processor or the third graphic command. It is understood that, when the format conversion body corresponding to the third graphics command is the third graphics command itself, the command encoding of the third graphics command may include encoding for converting the input parameter into the predetermined format.
The format conversion body corresponding to any one of the third graphics commands may be predetermined as follows:
when the third graphic command corresponds to different format conversion main bodies, consumption when an instruction containing the third graphic command is executed is acquired; the consumption here includes, but is not limited to, the total time length and the computing resources consumed in executing the instruction of the third graphics command.
If the consumption of the format conversion body corresponding to the third graphic command is hardware logic and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the third graphic command, determining that the format conversion body corresponding to the third graphic command is the third graphic command;
if the format conversion body corresponding to the third graphic command is the consumption of the third graphic command and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is hardware logic, determining that the format conversion body corresponding to the third graphic command is hardware logic.
It is reasonable that the consumption of executing the instruction including the third graphics command may be obtained from the operation data of the graphics processor when executing the instruction, may be estimated based on the experience of the programmer, and the like.
It can be understood that the third graphics command when the corresponding format conversion body is hardware logic is different from the third graphics command when the corresponding format conversion body is the third graphics command itself; specifically, the difference is that: the corresponding format conversion body is a third graphic command when the third graphic command is itself, and the code for converting the input parameters into the preset format is added in the command code.
In practical application, if the first statistic value of any graphic command provided in the graphic processor is greater than the value obtained by dividing the second statistic value of the graphic command by the preset multiple corresponding to the graphic command and is less than the value obtained by multiplying the second statistic value of the graphic command by the preset multiple corresponding to the graphic command; then, consumption in executing the instruction containing the graphics command may be first obtained; then, adding a code for converting the input parameters into a preset format in the command code of the graphic command to obtain a rewritten graphic command; obtaining consumption when executing an instruction containing the overwrite graphic command; the graphics command is determined as a third graphics command or the overwrite graphics command is determined as a third graphics command based on the acquired size relationship of the two-part consumption. When the graphic command is used as a third graphic command, the format conversion body corresponding to the third graphic command is hardware logic; when the overwrite graphic command is used as a third graphic command, the format conversion body corresponding to the third graphic command is the third graphic command.
In addition, if only one of the total time length and the computing resources in one of the two obtained portions is smaller than the other portion, and the other is larger than the corresponding one in the other portion; then, the format conversion body corresponding to the third graphic command may be randomly designated.
In this embodiment, for the third graphics command in the graphics processor, where the first statistic is greater than the second statistic divided by the preset multiple, and the first statistic is less than the second statistic multiplied by the preset multiple, the format conversion body corresponding to the third graphics command is further determined according to the comparison result of different consumption of the format conversion body, so that the execution efficiency of the graphics processor when executing the instruction including the third graphics command can be improved.
Optionally, in one implementation, the preset multiple corresponding to each first graphics command is equal to a conversion duration that is consumed when the input parameter of the first graphics command is converted into the predetermined format by the hardware logic, where the conversion duration is acquired in advance; the preset multiple corresponding to each second graphic command is equal to the conversion time consumed when the input parameters of the second graphic command are converted into the preset format by hardware logic, which are acquired in advance; the preset multiple corresponding to each third graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the third graphic command are converted into the preset format.
The transition duration may be represented by the number of clock cycles of the graphics processor.
It can be understood that, after the preset multiple corresponding to the graphics command is set as the conversion duration consumed when the input parameter of the graphics command is converted into the predetermined format by the hardware logic, when each graphics command in the graphics processor is processed into the first graphics command, the second graphics command or the third graphics command, the influence of the conversion duration of each graphics command on the execution efficiency of the application program can be taken into consideration, so that the execution efficiency when the application program is executed subsequently is further improved.
For clarity of the scheme, an exemplary description will be given below of a method of processing each graphic command in the graphic processor into a first graphic command, a second graphic command, or a third graphic command in advance. As shown in fig. 2, the method may include the steps of:
s201: for each graphics command in the graphics processor, executing one or more preset applications containing the graphics command to obtain a statistic M of the number of times the graphics command is invoked by a user 1 And obtains a statistical value M of the number of times operated by the hardware logic of the graphic processor when the graphic command is called by the user 2
Here, the graphical command is invoked by a user, specifically referring to a user writing an application using the graphical command, and the term "application" as used herein refers broadly to any application that may be run in a graphics processor.
S202: determination of M 1 And M 2 Size relationship of x s and M 1 And M 2 The magnitude relation of/s, s is the conversion time spent when the input parameters of the graphic command are converted into a preset format by hardware logic; if M 1 >M 2 X s, using the graphics command as a first graphics command; if M 1 <M 2 S, executing step S203; if M 2 /s<M 1 <M 2 X S, steps S204-S206 are performed.
S203: adding a code for converting the format of the input parameters into a predetermined format in the command code of the graphic command to obtain a rewritten graphic command, and taking the rewritten graphic command as a second graphic command.
Here, the predetermined format is a format suitable for hardware logic of the graphic processor to perform an operation.
In this step, the overwrite image command is used as a second graphic command, which may be specifically an added code remaining in the command code of the graphic command.
S204: acquiring consumption H when executing instructions containing the graphics command 1
Here, H 1 May be obtained from the operating data of the graphics processor when executing instructions containing the graphics commands, or estimated from the experience of a programmer, etc.
S205: adding a code for converting the format of the input parameters into a predetermined format to the command code of the graphics command to obtain a rewritten graphics command, and obtaining the consumption H when executing the command containing the rewritten graphics command 2
Here, H 2 It may also be obtained from the operating data of the graphics processor when executing the instruction containing the rewrite graphics command, or estimated based on the experience of the programmer, etc.
S206: determination of H 1 And H 2 Is a size relationship of (2); if H 1 >H 2 Then the graphics command is used as a third graphics command; if H 1 <H 2 The overwrite image command obtained in step S205 is taken as a third graphic command.
In this step, the graphics command may be regarded as a third graphics command, and specifically, the code added to the command code of the graphics command in step S205 may be deleted, that is, the command code of the graphics command is restored to the state before overwriting; the overwrite image command obtained in step S205 is used as a third graphic command, and specifically, the code added to the graphic command in step S205 is reserved.
The above is a detailed description of the execution method of the computer graphics application program provided in the embodiment of the present invention.
Corresponding to the execution method of the computer graphics application program, the embodiment of the invention also provides an execution device of the computer graphics application program, which is applied to a graphics processor. The graphic processor is provided with a plurality of preset first graphic commands and a plurality of preset second graphic commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistical value is: statistics of the number of times the first or second graphics commands are invoked by a plurality of preset applications executed in advance; the second statistic is: when the input parameter of the first graphic command or the input parameter of the second graphic command is called by a plurality of preset application programs, the statistics of the times of operation is put into the hardware logic of the graphic processor. As shown in fig. 3, the apparatus may include:
the execution module 301 is configured to sequentially execute each instruction included in the application program.
When any instruction containing a first graphic command is executed, the input parameters of the first graphic command contained in the instruction are converted into a preset format by hardware logic of a graphic processor and then put into operation; when any instruction containing a second graphic command is executed, the input parameters of the second graphic command contained in the instruction are converted into a preset format by the second graphic command and then are put into operation by hardware logic; here, the predetermined format is a format suitable for hardware logic to perform operations.
Optionally, the first statistic value of each first graphic command is greater than the value obtained by multiplying the second statistic value of the first graphic command by the preset multiple corresponding to the first graphic command;
the second statistic value of each second graphic command is larger than the value obtained by multiplying the first statistic value of the second graphic command by the preset multiple corresponding to the second graphic command.
Optionally, the graphics processor may also have a plurality of preset third graphics commands. At this time, any one of the graphics commands in the graphics processor may be a first graphics command, a second graphics command, or a third graphics command; the first statistic value of each third graphic command is greater than the value obtained by dividing the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command and is less than the value obtained by multiplying the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command;
correspondingly, when any instruction containing a third graphic command is executed, the input parameters of the third graphic command contained in the instruction are converted into a preset format by a format conversion main body corresponding to the third graphic command and then are put into operation by hardware logic;
The format conversion body corresponding to any third graphic command is the hardware logic of the graphic processor or the third graphic command.
Optionally, the format conversion body corresponding to any one of the third graphics commands is predetermined in the following manner:
when the third graphic command corresponds to different format conversion main bodies, consumption when an instruction containing the third graphic command is executed is acquired; the consumption includes a total length of time and computing resources consumed in executing the instructions of the third graphics command;
if the consumption of the format conversion body corresponding to the third graphic command is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the third graphic command, determining that the format conversion body corresponding to the third graphic command is the third graphic command;
if the format conversion body corresponding to the third graphic command is the consumption of the third graphic command and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the hardware logic, determining that the format conversion body corresponding to the third graphic command is the hardware logic.
Optionally, the preset multiple corresponding to each first graphic command is equal to a conversion time period consumed when the input parameters of the first graphic command are converted into the predetermined format by the hardware logic, wherein the conversion time period is acquired in advance;
The preset multiple corresponding to each second graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the second graphic command are converted into the preset format;
the preset multiple corresponding to each third graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the third graphic command are converted into the preset format.
In the execution device of the computer graphics application program provided by the embodiment of the invention, a graphics processor is provided with a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistical value is: statistics of the number of times the first or second graphics commands are invoked by a plurality of preset applications executed in advance; the second statistic is: when the input parameters of the first graphic command or the input parameters of the second graphic command are called by the plurality of preset application programs, calculating statistics of times of hardware logic input operation of the graphic processor; thus, when the graphics processor executes the application program written by the first graphics command and the second graphics command, if an instruction contains the first graphics command, the input parameters of the first graphics command contained in the instruction are converted into a preset format by the hardware logic of the graphics processor and then put into operation; if the instruction contains the second graphic command, the input parameters of the second graphic command contained in the instruction are calculated by hardware logic after being converted into the preset format by the second graphic command. It can be seen that, in the execution device of the computer graphics application provided in the embodiment of the present invention, for the second graphics command that frequently participates in the operation of the hardware logic, the input parameter is directly converted into the predetermined format suitable for the execution of the operation by the hardware logic in the second graphics command, so that the time consumed by the hardware logic to convert the input parameter into the predetermined format when executing the instruction including the second graphics command is reduced; therefore, the execution device of the computer graphics application program provided by the embodiment of the invention can improve the execution efficiency of the application program.
The embodiment of the invention also provides an electronic device, as shown in fig. 4, which comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401 is configured to implement the method steps described in the method for executing any one of the computer graphics application programs described above when executing the program stored in the memory 403.
Preferably, the processor 401 may be a graphics processor in particular.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
The invention also provides a computer readable storage medium. The computer-readable storage medium stores a computer program which, when executed by a processor, implements the method steps described in the execution method of any one of the computer graphics application programs described above.
Alternatively, the computer readable storage medium may be a Non-Volatile Memory (NVM), such as at least one disk Memory.
Optionally, the computer readable memory may also be at least one memory device located remotely from the aforementioned processor.
In yet another embodiment of the invention, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform the method steps of the method of executing any of the computer graphics applications described above.
For embodiments of the apparatus/electronic device/storage medium, etc., the description is relatively simple as it is substantially similar to the method embodiments, and reference should be made to the description of some of the method embodiments for the matters.
It should be noted that the terms "first," "second," and "second" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implying a number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Further, one skilled in the art can engage and combine the different embodiments or examples described in this specification.
Although the present application has been described herein in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the figures, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (9)

1. An execution method of an application program is characterized by being applied to a graphics processor, wherein the graphics processor is provided with a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistic is: statistics of the number of times a graphics command is invoked by a plurality of preset applications executed in advance; the second statistical value is: when the input parameters of the graphic command are called by the plurality of preset application programs, calculating statistics of times of hardware logic input operation of the graphic processor; wherein any one of the graphics commands is a first graphics command or a second graphics command; adding a code for converting the input parameters into a preset format in command codes of the graphic commands to obtain a rewritten graphic command, and taking the rewritten graphic command as a second graphic command; the method comprises the following steps:
sequentially executing all instructions contained in the application program; when any instruction containing the first graphic command is executed, the input parameters of the first graphic command contained in the instruction are converted into a preset format by the hardware logic of the graphic processor and then put into operation; when any instruction containing the second graphic command is executed, the input parameters of the second graphic command contained in the instruction are calculated by the hardware logic after being converted into the preset format by the second graphic command; the predetermined format is a format suitable for hardware logic to perform operations.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the first statistic value of each first graphic command is larger than the value obtained by multiplying the second statistic value of the first graphic command by the preset multiple corresponding to the first graphic command;
the second statistic value of each second graphic command is larger than the value obtained by multiplying the first statistic value of the second graphic command by the preset multiple corresponding to the second graphic command.
3. The method of claim 2, wherein the graphics processor further has a plurality of preset third graphics commands; the first statistic value of each third graphic command is greater than the value obtained by dividing the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command and is less than the value obtained by multiplying the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command;
when any instruction containing the third graphic command is executed, the input parameters of the third graphic command contained in the instruction are converted into the preset format by the format conversion main body corresponding to the third graphic command, and then are put into operation by the hardware logic;
wherein any one of the graphics commands is a first graphics command, a second graphics command, or a third graphics command; the format conversion body corresponding to any third graphic command is the hardware logic of the graphic processor or the third graphic command; the corresponding format conversion body is a third graphic command when the third graphic command is itself, and the code for converting the input parameters into the preset format is added in the command code;
The format conversion body corresponding to any one of the third graphics commands is predetermined as follows:
when the third graphic command corresponds to different format conversion main bodies, consumption when an instruction containing the third graphic command is executed is acquired; the consumption includes a total length of time and computing resources consumed in executing the instructions of the third graphics command;
if the consumption of the format conversion body corresponding to the third graphic command is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the third graphic command, determining that the format conversion body corresponding to the third graphic command is the third graphic command;
if the format conversion body corresponding to the third graphic command is the consumption of the third graphic command and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the hardware logic, determining that the format conversion body corresponding to the third graphic command is the hardware logic.
4. The method of claim 3, wherein the step of,
the preset multiple corresponding to each first graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the first graphic command are converted into the preset format;
The preset multiple corresponding to each second graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the second graphic command are converted into the preset format;
the preset multiple corresponding to each third graphic command is equal to the conversion time spent by the hardware logic when the input parameters of the third graphic command are converted into the preset format.
5. An execution device of an application program is characterized by being applied to a graphics processor, wherein the graphics processor is provided with a plurality of preset first graphics commands and a plurality of preset second graphics commands; a first statistic of each first graphic command is greater than a second statistic of the first graphic command; a second statistic for each second graphics command that is greater than the first statistic for the second graphics command; the first statistic is: statistics of the number of times the first or second graphics commands are invoked by a plurality of preset applications executed in advance; the second statistical value is: when the input parameters of the first graphic command or the input parameters of the second graphic command are called by the plurality of preset application programs, calculating statistics of the number of times of hardware logic input operation of the graphic processor; adding a code for converting the input parameters into a preset format in command codes of the graphic commands to obtain a rewritten graphic command, and taking the rewritten graphic command as a second graphic command;
The device comprises:
the execution module is used for sequentially executing all instructions contained in the application program; when any instruction containing the first graphic command is executed, the input parameters of the first graphic command contained in the instruction are converted into a preset format by the hardware logic of the graphic processor and then put into operation; when any instruction containing the second graphic command is executed, the input parameters of the second graphic command contained in the instruction are calculated by the hardware logic after being converted into the preset format by the second graphic command; the predetermined format is a format suitable for hardware logic to perform operations.
6. The apparatus of claim 5, wherein the device comprises a plurality of sensors,
the first statistic value of each first graphic command is larger than the value obtained by multiplying the second statistic value of the first graphic command by the preset multiple corresponding to the first graphic command;
the second statistic value of each second graphic command is larger than the value obtained by multiplying the first statistic value of the second graphic command by the preset multiple corresponding to the second graphic command.
7. The apparatus of claim 6, wherein the graphics processor further has a plurality of preset third graphics commands; the first statistic value of each third graphic command is greater than the value obtained by dividing the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command and is less than the value obtained by multiplying the second statistic value of the third graphic command by the preset multiple corresponding to the third graphic command;
When any instruction containing the third graphic command is executed, the input parameters of the third graphic command contained in the instruction are converted into the preset format by the format conversion main body corresponding to the third graphic command, and then are put into operation by the hardware logic;
wherein any one of the graphics commands is a first graphics command, a second graphics command, or a third graphics command; the format conversion body corresponding to any third graphic command is the hardware logic of the graphic processor or the third graphic command; the corresponding format conversion body is a third graphic command when the third graphic command is itself, and the code for converting the input parameters into the preset format is added in the command code;
the format conversion body corresponding to any one of the third graphics commands is predetermined as follows:
when the third graphic command corresponds to different format conversion main bodies, consumption when an instruction containing the third graphic command is executed is acquired; the consumption includes a total length of time and computing resources consumed in executing the instructions of the third graphics command;
if the consumption of the format conversion body corresponding to the third graphic command is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the third graphic command, determining that the format conversion body corresponding to the third graphic command is the third graphic command;
If the format conversion body corresponding to the third graphic command is the consumption of the third graphic command and is larger than the consumption of the format conversion body corresponding to the third graphic command when the format conversion body corresponding to the third graphic command is the hardware logic, determining that the format conversion body corresponding to the third graphic command is the hardware logic.
8. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 1-4 when executing a program stored on a memory.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-4.
CN201911414651.4A 2019-12-31 2019-12-31 Execution method and device of computer graphics application program and electronic equipment Active CN111208994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911414651.4A CN111208994B (en) 2019-12-31 2019-12-31 Execution method and device of computer graphics application program and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911414651.4A CN111208994B (en) 2019-12-31 2019-12-31 Execution method and device of computer graphics application program and electronic equipment

Publications (2)

Publication Number Publication Date
CN111208994A CN111208994A (en) 2020-05-29
CN111208994B true CN111208994B (en) 2023-05-30

Family

ID=70785000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911414651.4A Active CN111208994B (en) 2019-12-31 2019-12-31 Execution method and device of computer graphics application program and electronic equipment

Country Status (1)

Country Link
CN (1) CN111208994B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054107A (en) * 2010-12-31 2011-05-11 北京大学深圳研究生院 Lower hardware mapping method of integrated circuit, and space-time diagram generation method and device
CN102075763A (en) * 2010-12-31 2011-05-25 北京大学深圳研究生院 Intra-frame sub-block predictor circuit for video encoder and method for implementing same
CN107533453A (en) * 2015-03-06 2018-01-02 思科技术公司 System and method for generating data visualization application
CN109242756A (en) * 2018-09-07 2019-01-18 上海兆芯集成电路有限公司 Computer system, graphics processing unit and its graphic processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3016229A1 (en) * 2015-03-03 2016-09-09 Soroco Private Limited Software robots for programmatically controlling computer programs to perform tasks
US10635420B2 (en) * 2016-07-12 2020-04-28 Oracle International Corporation Overriding a migrated method in an updated type

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054107A (en) * 2010-12-31 2011-05-11 北京大学深圳研究生院 Lower hardware mapping method of integrated circuit, and space-time diagram generation method and device
CN102075763A (en) * 2010-12-31 2011-05-25 北京大学深圳研究生院 Intra-frame sub-block predictor circuit for video encoder and method for implementing same
CN107533453A (en) * 2015-03-06 2018-01-02 思科技术公司 System and method for generating data visualization application
CN109242756A (en) * 2018-09-07 2019-01-18 上海兆芯集成电路有限公司 Computer system, graphics processing unit and its graphic processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RTI性能测试分析;孙世霞 等;《系统仿真学报》;20050430;第2005年卷(第04期);全文 *
可编程逻辑控制器编辑软件的研究及实现;韩俊平等;《机电工程技术》;20070615(第06期);全文 *

Also Published As

Publication number Publication date
CN111208994A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
US11087203B2 (en) Method and apparatus for processing data sequence
JP6991983B2 (en) How and systems to train machine learning systems
US20190324729A1 (en) Web Application Development Using a Web Component Framework
WO2022148181A1 (en) Sparse matrix accelerated computing method and apparatus, device, and medium
CN104714785A (en) Task scheduling device, task scheduling method and data parallel processing device
CN112765023A (en) Test case generation method and device
US20200050481A1 (en) Computing Method Applied to Artificial Intelligence Chip, and Artificial Intelligence Chip
CN113705136A (en) Integrated circuit automation logic synthesis system, method, device and medium
CN104035747A (en) Method and device for parallel computing
CN111967608A (en) Data processing method, device, equipment and storage medium
CN111208994B (en) Execution method and device of computer graphics application program and electronic equipment
CN111047017B (en) Neural network algorithm evaluation method and device and electronic equipment
CN107678781B (en) Processor and method for executing instructions on processor
CN112052070A (en) Application containerization evaluation method and device, electronic equipment and storage medium
CN106843819B (en) Object serialization method and device
CN111399832B (en) Page editing method and device
CN108205596B (en) Method for realizing simulation function of serious accident analysis and calculation program of nuclear power plant
CN112433914B (en) Method and system for obtaining parallel computing task progress
US20210326130A1 (en) Scale calculation apparatus and computer readable medium
CN113377295A (en) Data storage and reading method, device and equipment for multi-producer single-consumer
CN109857991B (en) Data storage method and device and electronic equipment
CN109582295B (en) Data processing method and device, storage medium and processor
CN113312167B (en) Service control method and device, electronic equipment and computer readable medium
JP2006293741A (en) Processor
CN112612427A (en) Vehicle stop data processing method and device, storage medium and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant