发明名称 Method of compilation, computer program and computing system
摘要 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 specialized electronic device, different from the processor, to carry out each array computation detected.
申请公布号 US9298431(B2) 申请公布日期 2016.03.29
申请号 US201314375021 申请日期 2013.01.27
申请人 SIMPULSE 发明人 Hamman Emmanuel;De Marchi Stephane
分类号 G06F9/45 主分类号 G06F9/45
代理机构 Young & Thompson 代理人 Young & Thompson
主权项 1. A compiling method that comprises: pre-compiling a source code written in a programming language and comprising code lines, the pre-compiling comprising: determining, 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 each comprising at least two array operations, the array computations from the predefined list being array computations according to a predefined expression which is a finite and syntactically correct combination of operation symbols, each representing an array operation taken from a predefined list, and array symbols, each representing an input array,modifying the source code according to the array computation(s) for which the presence has been determined, this modification comprising: inserting, 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 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, having a processor and a specialised electronic device different to the processor 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 of the modified source code comprising: compiling the command lines: in instructions which, when executed by the processor of the target computer system, send the specialised electronic device the input arrays and the array operations of the array computation, andin instructions which, when executed by the processor of the target computer system, command the specialised electronic device, so that the specialised electronic device carries out the array computation.
地址 Palaiseau FR