METHOD OF COMPILATION, COMPUTER PROGRAM AND COMPUTING SYSTEM
1 Assignment
0 Petitions
Accused Products
Abstract
The method includes: —pre-compiling a source code including determining (212), in the source code, the presence of one or a plurality of array computations on one or a plurality of arrays, referred to as input arrays, the result whereof is assigned to an array, referred to as a result array, and modifying (214) the source code according to the array computation(s) for which the presence has been determined; and —compiling (238) the modified source in machine code intended to be executed by a computer system, referred to as a target computer system, having a processor, the compiling (238) of the modified source code including compiling the command instructions in instructions which, when executed by the processor of the target computer system, command a specialised electronic device, different from the processor, to carry out each array computation detected.
-
Citations
22 Claims
-
1-9. -9. (canceled)
-
10. Compiling method characterised in that it comprises:
-
pre-compiling a source code written in a programming language and comprising code lines, the pre-compiling comprising; determining (212), in the source code, the presence of one or a plurality of array computations on one or a plurality of arrays, referred to as input arrays, the result whereof is assigned to an array, referred to as a result array, the array computation(s) each belonging to a predefined list of array computations, the array computations from the predefined list being array computations according to a predefined expression, modifying (214) the source code according to the array computation(s) for which the presence has been determined, this modification comprising; inserting (224), in the source code, instead of each array computation for which the presence has been determined, one or a plurality of lines of code, referred to as command lines, compiling (238) the source code modified during the pre-compiling method in machine code intended to be executed by a computer system, referred to as a target computer system (112), having a processor (114) and a specialised electronic device (116) different to the processor (114) and specialized to carry out each of the array computations from the predefined list, and in particular, the array computation for which the presence has been determined, the compiling (238) of the modified source code comprising; compiling the command lines; in instructions which, when executed by the processor (114) of the target computer system (112), send the specialised electronic device (116) the input arrays and the array operations of the array computation, and in instructions which, when executed by the processor (114) of the target computer system (112), command the specialised electronic device (116), so that the specialised electronic device (116) carries out the array computation. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification