Processing method
AssigneeCodeplay Software Limited
InventorsJens-Uwe Dolinsky, Andrew Richards, Colin Riley
Life of this patent
Estimating the term…
Abstract
A method for processing computer program code to enable different parts of the computer program code to be executed by different processing elements of a plurality of communicating processing elements. The method comprises identifying at least one first part of the computer program code, which is to be executed by a particular one of said processing elements. The method further comprises identifying at least one further part of the computer code which is related to the at least one first part of the computer code. The at least one first part of the computer program code and the at least one further part of the computer program code are caused to be executed by the particular one of said processing elements.
Claims49
A method for processing computer program code to enable different parts of the computer program code to be executed by different processing elements of a plurality of communicating processing elements, the method comprising:
- identifying at least one first part of the computer program code which is to be executed by a particular one of said processing elements;
- identifying at least one further part of the computer code which is related to said at least one first part of the computer code;
- and
- causing said first part of the computer program code and said further part of the computer program code to be executed by the particular one of said processing elements.
A method according to any preceding claim wherein said causing comprises compiling said first part of the computer program code and said further part of the computer program code for the particular one of the processing elements.
A method according to any preceding claim, further comprising:
- identifying at least one second part of the computer program code which is to be executed by a plurality of said processing elements;
- and
- causing said second part of the computer program code to be executed by said plurality of said processing elements.
A method according to any preceding claim, wherein:
- said plurality of processing elements access data stored in a plurality of storage areas;
- and
- said causing comprises modifying said first part of said computer program code and said further part of said computer program code to access data in the plurality of storage areas.
A method according to any preceding claim, wherein:
- said further part of said computer program is referenced in said computer program code at least twice, each reference comprising a respective memory access operation;
- and
- the method further comprises creating a first modification of said further part of said computer program code based upon a first respective memory access operation and creating a second modification of said further part of said computer program code based upon a second respective memory access operation.
A method according to any preceding claim, further comprising:
- creating a copy of said first and further parts of said computer program code;
- wherein said causing comprises modifying said copy of said first part of said computer program code and said copy of said further part of said computer program code to access data in the plurality of storage areas.
A method for processing computer program code to enable different parts of the computer program code to be executed by different processing elements of a plurality of communicating processing elements, wherein the computer program code references a plurality of data items, a least one data item being stored in a memory local to a particular processing element, and at least another data item being stored in a memory shared between a plurality of processing elements, the method comprising:
- processing a first part of the computer program code comprising a reference to a first of said data items,
- determining a memory in which said first data item is stored;
- and
- modifying the computer program code to indicate the determined memory.
A method for determining syntactic correctness of computer program code to run in a system comprising plural memories comprising:
- identifying a first statement assigning a first pointer data item to a the value of a second pointer data item;
- determining whether said first and second pointer data items each identify a memory location in a common memory;
- and
- if it is determined that said first and second pointer data items do not identify a memory location in a common memory, indicating an error.
A method for processing computer program code to cause the computer program code to run across multiple processing elements:
- attaching modifiers to at least one part of the computer program code to indicate that the part of the computer code should run on a particular processing element.
A method for processing computer program code to enable different parts of the computer program code to be executed by different processing elements of a plurality of communicating processing elements, the method comprising:
- indicating a set of parts of said computer program code to be modified for execution by a particular one of said processing elements.
A method according to any preceding claim, wherein said processing elements are processors.
A method for making computer program code suitable for execution in an environment comprising a plurality of storage spaces, wherein the computer program code comprises at least one type definition including a reference to one of said storage spaces, the method comprising:
- creating a copy of said type definition by replacing said reference to said one of said storage spaces with a reference to another of said storage spaces.
A computer program comprising computer readable instructions arranged to cause a computer to carry out a method according to any preceding claim.
Dependencies are inferred from the claim text.