Abstract:
A code generating method, a compiler, a scheduling method, an apparatus and a scheduling system where the generated code is an executable code and applied to a heterogeneous system, and the heterogeneous system includes an accelerated processor and a central processing unit (CPU) and the code generating method includes acquiring, by a compiler, resource information of the accelerated processor and resource information of the CPU in order to generate an operable platform list, identifying, by the compiler, accelerable code from first user code, embedding, by the compiler, a hook function and an exception handling function before the accelerable code to form second user code, and compiling, by the compiler, the second user code to obtain the executable code and the executable code generated may automatically implement proper scheduling of processors during execution.
Abstract:
A vehicle control apparatus and method includes, when a self-driving vehicle is in a self-driving status, obtaining driving status information of the self-driving vehicle and first driving environment information of the self-driving vehicle; calculating a coarse-grained control instruction of the self-driving vehicle based on the driving status information, the first driving environment information, and a control instruction decision model; determining, based on second driving environment information, whether the coarse-grained control instruction is to be executed; and when the coarse-grained control instruction is to be executed, determining, based on lane information and the driving status information of the self-driving vehicle, a fine-grained control instruction corresponding to the coarse-grained control instruction.
Abstract:
A code generating method, a compiler, a scheduling method, an apparatus and a scheduling system where the generated code is an executable code and applied to a heterogeneous system, and the heterogeneous system includes an accelerated processor and a central processing unit (CPU) and the code generating method includes acquiring, by a compiler, resource information of the accelerated processor and resource information of the CPU in order to generate an operable platform list, identifying, by the compiler, accelerable code from first user code, embedding, by the compiler, a hook function and an exception handling function before the accelerable code to form second user code, and compiling, by the compiler, the second user code to obtain the executable code and the executable code generated may automatically implement proper scheduling of processors during execution.