CN104239080A - Heterogeneous system program starting method and device - Google Patents

Heterogeneous system program starting method and device Download PDF

Info

Publication number
CN104239080A
CN104239080A CN201310239648.XA CN201310239648A CN104239080A CN 104239080 A CN104239080 A CN 104239080A CN 201310239648 A CN201310239648 A CN 201310239648A CN 104239080 A CN104239080 A CN 104239080A
Authority
CN
China
Prior art keywords
input parameter
modified
core
runtime system
index
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.)
Granted
Application number
CN201310239648.XA
Other languages
Chinese (zh)
Other versions
CN104239080B (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.)
Huawei Technologies Co Ltd
Institute of Computing Technology of CAS
Original Assignee
Huawei Technologies Co Ltd
Institute of Computing Technology of CAS
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 Huawei Technologies Co Ltd, Institute of Computing Technology of CAS filed Critical Huawei Technologies Co Ltd
Priority to CN201310239648.XA priority Critical patent/CN104239080B/en
Publication of CN104239080A publication Critical patent/CN104239080A/en
Application granted granted Critical
Publication of CN104239080B publication Critical patent/CN104239080B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

An embodiment of the invention provides a heterogeneous system program starting method and device. The heterogeneous system program starting method includes: determining whether input parameters of a hard core are modified or not when compiling the hard core of an open computing language program through a compiler; storing results of the input parameters whether or not modified; according to the results of the input parameters whether or not modified, performing copy operation on the modified input parameters when the hard core is started by a system during operation. By the heterogeneous system program starting method and device, redundant copy operation of the system on the input parameters of the hard core during operation is avoided, cost of the system during operation of OpenCL is lowered, and execution efficiency of the OpenCL program is improved.

Description

Heterogeneous system program starting method and device
Technical field
The present invention relates to computer programs process technology, particularly relate to a kind of heterogeneous system program starting method and device.
Background technology
Heterogeneous computing platforms is the computing platform be made up of the calculating unit of two or more different in kinds.Comparatively common heterogeneous computing platforms is made up of the calculating unit that instruction set is different, such as: central processing unit (Central Processing Unit, be called for short: CPU) and graphic process unit (Graphic Processing Unit, abbreviation: GPU) form heterogeneous computing platforms.
In recent years, heterogeneous computing platforms is a dark horse, and on heterogeneous platform, how coding also becomes the focus of concern.Under this background, (Open Computing Language is called for short: OpenCL) released by as the multiple programming specification on a kind of heterogeneous platform, obtain and pay close attention to comparatively widely and use open computational language.OpenCL program is made up of two parts---and by " main frame (Host) " part and " core (the Kernel) " part of being write by OpenCL C language of C/C++ language compilation, wherein, core is started by host machine part.When OpenCL program performs on heterogeneous platform, software is needed to provide compilation time, and the support of the time of running.At compilation time, by compiler, the host machine part of all OpenCL and each core are compiled.Operationally carve, perform compiled program by runtime system, namely perform the program of host machine part, and the compiled core of startup can be called in the process of implementation.
But prior art supports it is completely discrete to the compilation time support of OpenCL program and the time of running.Such as, in some OpenCL program, core is repeatedly started, when core is activated at every turn, no matter whether input parameter changes, and runtime system all needs to be copied to by the input parameter of core in the region of memory of runtime system reservation, and existing processing mode causes the internal memory replicate run of some redundancies, add the expense of OpenCL runtime system, affect the overall performance of OpenCL program.
Summary of the invention
The invention provides a kind of heterogeneous system program starting method and device, effectively to avoid the redundancy memory replicate run of OpenCL runtime system, and effectively can reduce the expense of OpenCL runtime system, thus improve OpenCL executing efficiency.
First aspect, the embodiment of the present invention provides a kind of heterogeneous system program starting method, comprising:
When computational language program kernel part open by compiler compiling, determine whether the input parameter of core is modified;
Preserve the result whether each input parameter is modified;
When starting core by runtime system, according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
In conjunction with first aspect, in the first possible implementation of first aspect, when computational language program kernel part open by compiler compiling, determine whether the input parameter of core is modified, and comprising:
When computational language program kernel part open by compiler compiling, travel through described open computational language program, obtain and record the input parameter of each described core;
Whether each input parameter analyzing described core has outside definite value, if so, then determines to be modified, and if not, then determines not to be modified.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, preserve the result whether each input parameter is modified, comprising:
The outcome record whether be modified by each input parameter of described core is in set, and wherein, in described set, each bar record comprises the index of corresponding input parameter, title, whether is modified the index of the core at state and this input parameter place.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, when starting core by runtime system, according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified, comprising:
Start core by runtime system, and in described set, search corresponding core index according to the index of the core started;
In the core found, whether what obtain each input parameter one by one is modified state;
Whether be modified state according to described, the input parameter be modified performed and copies in the region of memory of runtime system.
In conjunction with first aspect, first aspect the first to any one in the third possible implementation, in the 4th kind of possible implementation of first aspect, when starting core by runtime system, according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified and comprises:
Start core by runtime system, judge whether this core is initial start-up according to the number of starts of this core;
If so, then directly perform input parameter replicate run, and the number of starts of this core is added 1;
Otherwise, according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
Second aspect, the embodiment of the present invention provides a kind of heterogeneous system program starter gear, comprising:
Determination module, for when opening computational language program kernel part by compiler compiling, determines whether the input parameter of core is modified;
Memory module, for preserving the result whether each input parameter is modified;
Processing module, during for starting core by runtime system, according to the result whether described input parameter is modified, performs replicate run to the input parameter be modified.
In conjunction with second aspect, in the first possible implementation of second aspect, described determination module comprises:
Record cell, for when computational language program kernel part open by compiler compiling, travels through described open computational language program, obtains and records the input parameter of each described core;
Whether analytic unit, have outside definite value for each input parameter analyzing described core, if so, then determines to be modified, and if not, then determines not to be modified.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, described memory module specifically for outcome record that whether each input parameter of described core is modified in set, wherein, in described set, each bar record comprises the index of corresponding input parameter, title, whether is modified the index of the core at state and this input parameter place.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described processing module comprises:
Searching unit, for starting core by runtime system, and in described set, searching corresponding core index according to the index of the core started;
Acquiring unit, in the core found, whether what obtain each input parameter one by one is modified state;
First copied cells, for whether being modified state according to described, performing the input parameter be modified and copying in the region of memory of runtime system.
In conjunction with second aspect, second aspect the first to any one in the third possible implementation, in the 4th kind of possible implementation of second aspect, described processing module comprises:
According to the number of starts of this core, judging unit, for starting core by runtime system, judges whether this core is initial start-up;
Second copied cells, if be yes for judging unit Output rusults, then directly perform input parameter replicate run, and the number of starts of this core is added 1; If judging unit Output rusults is no, then according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
The embodiment of the present invention provides a kind of heterogeneous system program starting method and device, by judging whether the input parameter of core in OpenCL program changes, determine whether copy in the region of memory of runtime system reservation by input parameter, thus avoid runtime system to the redundancy replicate run of core input parameter, reduce the expense of OpenCL runtime system, improve OpenCL executing efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of heterogeneous system program starting method embodiment one of the present invention;
Fig. 2 is the schematic flow sheet of heterogeneous system program starting method embodiment two of the present invention;
Fig. 3 is the structural representation of heterogeneous system program starter gear embodiment four of the present invention;
Fig. 4 is the structural representation of heterogeneous system program starter gear embodiment five of the present invention;
Fig. 5 is the structural representation of heterogeneous system program starter gear embodiment six of the present invention.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one
Fig. 1 is the schematic flow sheet of heterogeneous system program starting method embodiment one of the present invention.Embodiments provide a kind of heterogeneous system program starting method, the method can be performed by arbitrary heterogeneous system program starter gear, and this device can pass through software and/or hardware implementing, is configured in heterogeneous system.As shown in Figure 1, the method for the present embodiment comprises:
Step 101, when computational language program kernel part open by compiler compiling, determine whether the input parameter of core is modified.
Particularly, the realization of the embodiment of the present invention is embodied in compilation time and two stages of the time of running of OpenCL program, relates separately to compiler and OpenCL runtime system.At compilation time, by compiler, the host machine part of all OpenCL and each core are compiled.Utilize the data stream analysis techniques of compilation time, whether the input parameter analyzing each core changes, to determine whether the input parameter of core is modified in repeatedly start-up course.
Step 102, preserve the result whether each input parameter be modified.
Particularly, at compilation time, after determining whether the input parameter of core is modified, preserve the result whether each input parameter is modified, wherein, preserving type can adopt various ways, such as, binary file form more common in practical application, or text txt) (textfile is called for short: other form such as.
Step 103, when starting core by runtime system, according to the result whether described input parameter is modified, replicate run is performed to the input parameter that is modified.
Particularly, operationally carve, perform compiled program by runtime system, namely perform the program of host machine part, and compiled core can be called in the process of implementation.When runtime system starts core, the result whether each input parameter preserved in obtaining step 102 is modified, when this result shows that core starts, whether each input parameter is modified, replicate run is performed to the input parameter be modified, replicate run is not performed to the input parameter be not modified.
In embodiments of the present invention, first judge whether the input parameter of each core is modified by compiler, then the result whether be modified according to input parameter by runtime system determines whether carry out replicate run, thus avoid in existing scheme the region of memory first input parameter of core all being copied to runtime system when each core is activated and retain, realize the expense reducing OpenCL runtime system, improve the execution efficiency of OpenCL program.
Embodiment two
Fig. 2 is the schematic flow sheet of heterogeneous system program starting method embodiment two of the present invention.As shown in Figure 2, the embodiment of the present invention carries out further refinement on the basis of above-described embodiment, and described method can comprise:
Step 201, when computational language program kernel part open by compiler compiling, travel through described open computational language program, obtain and record the input parameter of each described core.
Particularly, compiler traversal OpenCL program, obtains and records whole input parameters of the described all cores of OpenCL program.Such as, each described input parameter can be carried out record with the form of set, suppose described input parameter to be recorded in set Ψ, record format is (k_id, p_id, p_name, state), wherein, k_id is the index of the core at each described input parameter place, and p_id is the index of each described input parameter, and p_name is the title of each described input parameter, state is the original state of each described input parameter, and can set this original state is FALSE.
Whether step 202, each input parameter analyzing described core have outside definite value, if so, then determine to be modified, if not, then determine not to be modified.
Particularly, utilize the existing data stream analysis techniques of compiler, whether each input parameter recorded in OpenCL program limit inner analysis set Ψ has outside definite value, if, then determine to be modified, this is had the original state that the input parameter of outside definite value is corresponding, and namely state is revised as TRUE; If not, then determine not to be modified, do not change the original state that this input parameter is corresponding, namely state is still FALSE.Wherein, described outside definite value refers to that input parameter can the part in OpenCL program except core be modified.
Step 203, the outcome record that whether is modified by each input parameter of described core are in set.
Wherein, in described set, each bar record comprises the index of corresponding input parameter, title, whether is modified the index of the core at state and this input parameter place.Corresponding described set Ψ, the value of state can be reacted each described input parameter and whether is modified state, if the value of the state that some input parameters are corresponding is FALSE, illustrate that this input parameter can not be modified, only need copy, without the need to repeat replication when the core initial start-up at this input parameter place; If the value of the state that this input parameter is corresponding is TRUE, illustrate that this input parameter can be modified, then, when the core at this input parameter place repeatedly starts, all will copy, thus avoid the redundancy of unmodified input parameter to copy.
In addition, this set can be kept at binary file or txt, also can preserve this set in other forms, not limit at this.
Step 204, start core by runtime system, and in described set, search corresponding core index according to the index of the core started.
Step 205, in the core found, whether what obtain each input parameter one by one is modified state.
Particularly, obtain each input parameter of the core found one by one, inquire about described each input parameter and whether be modified state.
Step 206, whether be modified state according to described, the input parameter be modified performed and copies in the region of memory of runtime system.
Particularly, if input parameter is modified state, then perform replicate run, the input parameter be modified is copied in the region of memory of runtime system; If input parameter is not modified state, then do not carry out replicate run.
In embodiments of the present invention, the result whether be modified by the input parameter of core carries out record with the form of set, comprises the information of described input parameter, be convenient to carry out according to described information operations such as searching in this set, accelerate replicate run, improve the execution efficiency of OpenCL program.
On the basis of above-described embodiment, when starting core by runtime system, according to the result whether described input parameter is modified, performing replicate run to the input parameter be modified can also be further refined as:
1, start core by runtime system, judge whether this core is initial start-up according to the number of starts of this core.
Particularly, in OpenCL runtime system, add core start counting array k_count, the length of this array is the sum of all cores in this OpenCL program, the position of each core correspondence in this array sets according to the time sequencing of described each core initial start-up, in this array, the initial value of each element value is 0, when namely just bringing into operation to described OpenCL program, the number of times that all cores are activated is 0.
When system starts core when running, first judge the number of starts of this core, whether the element value searching the position at this place, core corresponding in k_count is 0, if 0, explanation is initial start-up; Otherwise this core is not initial start-up.
2, if so, then directly perform input parameter replicate run, and the number of starts of this core is added 1.
If core is activated for the first time, then all input parameters of this core are all copied to the region of memory of runtime system, and the number of starts of this core is added 1, such as, the element value that the index of this core in k_count subtracts the position of 1 is added 1.
3 otherwise, according to the result whether described input parameter is modified, replicate run is performed to the input parameter that is modified.
The result whether each input parameter obtaining preservation is modified, such as obtain set Ψ, every bar record in set Ψ: if k_id is consistent with the index of the core of current startup, and state is TRUE, then p_id input parameter of this core is copied in the region of memory of system during execution, and read next record in set; If k_id is consistent with the index of the core of current startup, and state is FALSE, or the index of the core of k_id and current startup is inconsistent, then directly read next record in set.
It should be noted that, judge that whether core in OpenCL program is that the mode of initial start-up has number of ways, only for array k_count in the embodiment of the present invention, alternate manner is not elaborated.
Embodiment three
The embodiment of the present invention is described for concrete OpenCL program, and in this OpenCL program, core is kmeansOCL function.OpenCL usability of program fragments is as follows:
In this OpenCL usability of program fragments, core is positioned at circulation do ... in while, will repeatedly be started.KmeansOCL function comprises 8 input parameters (not shown in usability of program fragments), and under less input set, the data volume of these 8 input parameters also will reach 30M, copies, have a great impact to the execution efficiency of program if perform repeatedly whole parameter.Here, the heterogeneous system program starting method adopting the embodiment of the present invention to provide, illustrates in described usability of program fragments 8 of kmeansOCL function processes that input parameter copies.
1, compilation time
(1) compiler traversal OpenCL program, obtains whole input parameters of kmeansOCL function, and charge in set Ψ, record format is (k_id, p_id, p_name, state), as shown in table 1.
Ψ gathered by table 1
(2) use the existing analytical technology of compiler, in analytical table 1, whether input parameter has outside definite value, if there is outside definite value, then its state is updated to TRUE, result is as shown in table 2.
Set Ψ after table 2 upgrades
(3) table 2 is recorded in binary file.
2, the time of running
(1) embodiment of the present invention Program fragment only comprises a core, therefore, operationally arranges variable k_count1 in system, and to k_count1 initialize 0.
(2) OpenCL program performs to when starting kmeansOCL function, if k_count1 is 0, then directly performs input parameter replicate run, and the number of starts of kmeansOCL function is added 1; If k_count1 is not 0, then from described binary file, read in data, i.e. content shown in table 2, for d_cluster and d_membership, its state is TRUE, need to carry out internal memory replicate run, and for other input parameter, then do not need repeat replication to the region of memory of runtime system.The embodiment of the present invention effectively can avoid the redundancy memory replicate run of OpenCL runtime system, and effectively can reduce OpenCL runtime system expense, thus improves OpenCL executing efficiency.
Embodiment four
Fig. 3 is the structural representation of heterogeneous system program starter gear embodiment four of the present invention, and this device can be arranged in heterogeneous platform.As shown in Figure 3, this device comprises: determination module 31, memory module 32 and processing module 33.
Wherein, determination module 31, for when opening computational language program kernel part by compiler compiling, determines whether the input parameter of core is modified; Memory module 32, for preserving the result whether each input parameter is modified; Processing module 33, during for starting core by runtime system, according to the result whether described input parameter is modified, performs replicate run to the input parameter be modified.
The heterogeneous system program starter gear of the embodiment of the present invention, may be used for the technical scheme performing heterogeneous system program starting method embodiment one, it realizes principle and technique effect is similar, repeats no more herein.
Embodiment five
On the basis of above-described embodiment, as shown in Figure 4, described determination module 31 can comprise: record cell 311 and analytic unit 312, wherein, record cell 311, for when computational language program kernel part open by compiler compiling, travel through described open computational language program, obtain and record the input parameter of each described core; Whether analytic unit 312, have outside definite value for each input parameter analyzing described core, if so, then determines to be modified, and if not, then determines not to be modified.
Further, described memory module 32 specifically for outcome record that whether each input parameter of described core is modified in set, wherein, in described set, each bar record comprises the index of corresponding input parameter, title, whether is modified the index of the core at state and this input parameter place.
Further, described processing module 33 can comprise: search unit 331, acquiring unit 332 and the first copied cells 333, wherein, search unit 331, for starting core by runtime system, and in described set, search corresponding core index according to the index of the core started; Acquiring unit 332, in the core found, whether what obtain each input parameter one by one is modified state; First copied cells 333, for whether being modified state according to described, performing the input parameter be modified and copying in the region of memory of runtime system.
The heterogeneous system program starter gear of the embodiment of the present invention, may be used for the technical scheme performing above-mentioned any heterogeneous system program starting method embodiment, it realizes principle and technique effect is similar, repeats no more herein.
Embodiment six
Fig. 5 is the structural representation of heterogeneous system program starter gear embodiment six of the present invention.As shown in Figure 5, on the basis of above-described embodiment, described processing module 33 can also comprise: judging unit 334 and the second copied cells 335, wherein, judging unit 334, for starting core by runtime system, judge whether this core is initial start-up according to the number of starts of this core; Second copied cells 335, if be yes for judging unit Output rusults, then directly perform input parameter replicate run, and the number of starts of this core is added 1; If judging unit Output rusults is no, then according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
The heterogeneous system program starter gear of the embodiment of the present invention, may be used for the technical scheme performing above-mentioned any heterogeneous system program starting method embodiment, it realizes principle and technique effect is similar, repeats no more herein.
The embodiment of the present invention effectively can avoid the redundancy memory replicate run of OpenCL runtime system, and effectively can reduce OpenCL runtime system expense, thus improves OpenCL executing efficiency.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that programmed instruction is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a heterogeneous system program starting method, is characterized in that, comprising:
When computational language program kernel part open by compiler compiling, determine whether the input parameter of core is modified;
Preserve the result whether each input parameter is modified;
When starting core by runtime system, according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
2. method according to claim 1, is characterized in that, when computational language program kernel part open by compiler compiling, determines whether the input parameter of core is modified, and comprising:
When computational language program kernel part open by compiler compiling, travel through described open computational language program, obtain and record the input parameter of each described core;
Whether each input parameter analyzing described core has outside definite value, if so, then determines to be modified, and if not, then determines not to be modified.
3. method according to claim 2, is characterized in that, preserves the result whether each input parameter is modified, comprising:
The outcome record whether be modified by each input parameter of described core is in set, and wherein, in described set, each bar record comprises the index of corresponding input parameter, title, whether is modified the index of the core at state and this input parameter place.
4. method according to claim 3, is characterized in that, when starting core by runtime system, according to the result whether described input parameter is modified, performs replicate run, comprising the input parameter be modified:
Start core by runtime system, and in described set, search corresponding core index according to the index of the core started;
In the core found, whether what obtain each input parameter one by one is modified state;
Whether be modified state according to described, the input parameter be modified performed and copies in the region of memory of runtime system.
5. according to the arbitrary described method of claim 1-4, it is characterized in that, when starting core by runtime system, according to the result whether described input parameter is modified, replicate run performed to the input parameter be modified and comprises:
Start core by runtime system, judge whether this core is initial start-up according to the number of starts of this core;
If so, then directly perform input parameter replicate run, and the number of starts of this core is added 1;
Otherwise, according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
6. a heterogeneous system program starter gear, is characterized in that, comprising:
Determination module, for when opening computational language program kernel part by compiler compiling, determines whether the input parameter of core is modified;
Memory module, for preserving the result whether each input parameter is modified;
Processing module, during for starting core by runtime system, according to the result whether described input parameter is modified, performs replicate run to the input parameter be modified.
7. device according to claim 6, is characterized in that, described determination module comprises:
Record cell, for when computational language program kernel part open by compiler compiling, travels through described open computational language program, obtains and records the input parameter of each described core;
Whether analytic unit, have outside definite value for each input parameter analyzing described core, if so, then determines to be modified, and if not, then determines not to be modified.
8. device according to claim 7, it is characterized in that, described memory module specifically for outcome record that whether each input parameter of described core is modified in set, wherein, in described set, each bar record comprises the index of corresponding input parameter, title, whether is modified the index of the core at state and this input parameter place.
9. device according to claim 8, is characterized in that, described processing module comprises:
Searching unit, for starting core by runtime system, and in described set, searching corresponding core index according to the index of the core started;
Acquiring unit, in the core found, whether what obtain each input parameter one by one is modified state;
First copied cells, for whether being modified state according to described, performing the input parameter be modified and copying in the region of memory of runtime system.
10., according to the arbitrary described device of claim 6-9, it is characterized in that, described processing module comprises:
According to the number of starts of this core, judging unit, for starting core by runtime system, judges whether this core is initial start-up;
Second copied cells, if be yes for judging unit Output rusults, then directly perform input parameter replicate run, and the number of starts of this core is added 1; If judging unit Output rusults is no, then according to the result whether described input parameter is modified, replicate run is performed to the input parameter be modified.
CN201310239648.XA 2013-06-17 2013-06-17 Heterogeneous system program starts method and apparatus Active CN104239080B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310239648.XA CN104239080B (en) 2013-06-17 2013-06-17 Heterogeneous system program starts method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310239648.XA CN104239080B (en) 2013-06-17 2013-06-17 Heterogeneous system program starts method and apparatus

Publications (2)

Publication Number Publication Date
CN104239080A true CN104239080A (en) 2014-12-24
CN104239080B CN104239080B (en) 2017-11-17

Family

ID=52227219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310239648.XA Active CN104239080B (en) 2013-06-17 2013-06-17 Heterogeneous system program starts method and apparatus

Country Status (1)

Country Link
CN (1) CN104239080B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948165B1 (en) * 2001-02-28 2005-09-20 Western Digital Ventures, Inc. Method for installing an application program, to be executed during each bootload of a computer system for presenting a user with content options prior to conventional system startup presentation, without requiring a user's participation to install the program
CN101221527A (en) * 2007-01-08 2008-07-16 上海宇梦通信科技有限公司 Physical memory information monitoring system of Linux platform
CN101604253A (en) * 2009-07-23 2009-12-16 威盛电子股份有限公司 Computer system and startup method
CN101710373A (en) * 2009-12-04 2010-05-19 深圳创维数字技术股份有限公司 File operation method of embedded system
CN102547289A (en) * 2012-01-17 2012-07-04 西安电子科技大学 Fast motion estimation method realized based on GPU (Graphics Processing Unit) parallel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948165B1 (en) * 2001-02-28 2005-09-20 Western Digital Ventures, Inc. Method for installing an application program, to be executed during each bootload of a computer system for presenting a user with content options prior to conventional system startup presentation, without requiring a user's participation to install the program
CN101221527A (en) * 2007-01-08 2008-07-16 上海宇梦通信科技有限公司 Physical memory information monitoring system of Linux platform
CN101604253A (en) * 2009-07-23 2009-12-16 威盛电子股份有限公司 Computer system and startup method
CN101710373A (en) * 2009-12-04 2010-05-19 深圳创维数字技术股份有限公司 File operation method of embedded system
CN102547289A (en) * 2012-01-17 2012-07-04 西安电子科技大学 Fast motion estimation method realized based on GPU (Graphics Processing Unit) parallel

Also Published As

Publication number Publication date
CN104239080B (en) 2017-11-17

Similar Documents

Publication Publication Date Title
KR101381274B1 (en) Register mapping techniques for efficient dynamic binary translation
CN1134731C (en) Technology of reducing cost of primary examination to dynamic kinds in compiled codes
CN1838088A (en) Method of instrumenting code having restrictive calling conventions
US9823911B2 (en) Method and apparatus for compiling code based on a dependency tree
KR20140131978A (en) System and method for memory management
JP2007286671A (en) Software/hardware division program and division method
JP2017107448A (en) Parallelization method, parallelization tool, and on-vehicle device
CN110990001A (en) IVR (Interactive Voice response) process execution method and device
KR20170014613A (en) Electronic Device, Compilation Method, and Computer Readable Recording Medium
CN112732321A (en) Firmware modification method and device, computer readable storage medium and equipment
CN109739824B (en) Log obtaining method and device
CN110955632A (en) File index generation method and device
WO2022068556A1 (en) Code translation method and apparatus, and device
US9158550B2 (en) Caching based operating system installation
JP2008305337A (en) Program converter, program conversion method, program, storage medium, debugging device, debugging method and program development system
CN104239080A (en) Heterogeneous system program starting method and device
US7698534B2 (en) Reordering application code to improve processing performance
US20120089823A1 (en) Processing apparatus, compiling apparatus, and dynamic conditional branch processing method
US20140013312A1 (en) Source level debugging apparatus and method for a reconfigurable processor
CN102629259A (en) Read-only file system setting up method in embedded system, device and embedded system
US10949209B2 (en) Techniques for scheduling instructions in compiling source code
CN107239395B (en) Method and equipment for searching invalid function in source code
CN112364580A (en) Method and device for automatically inserting specific code into register transmission level design file
Gruber et al. Building of a Polyhedral Representation from an Instrumented Execution: Making Dynamic Analyses of non-Affine Programs Scalable
JP6558310B2 (en) Parallelization method, parallelization tool

Legal Events

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