Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

35 results about "Porting" patented technology

In software engineering, porting is the process of adapting software for the purpose of achieving some form of execution in a computing environment that is different from the one that a given program (meant for such execution) was originally designed for (e.g., different CPU, operating system, or third party library). The term is also used when software/hardware is changed to make them usable in different environments.

Computer-implemented method and corresponding system for porting software artefacts from a source system to another target system based on a porting strategy

A computer-implemented method including quantifying pre-defined technical porting goal of a porting project into a technical value model, receiving selected decisions regarding the target system and porting tasks and current version of the porting system, executing traceable porting steps based on the selected decisions, porting tasks and current version of the porting system and creating software artefacts of the target system, evaluating software artefacts created or converted by each of the executed porting steps and / or evaluating test results by applying and / or simulating each ported software artifact, outputting references to the versions of created and / or converted and evaluated software artifacts into a porting log, and training the creation and evaluation component of the porting system with data of the porting log based on the decisions and the outcome of the porting project using porting mechanism to reach the pre-defined goal for the porting system.
Owner:SIEMENS AG

A method for porting intelligent models based on domestically produced intelligent chips

This invention discloses a method for porting intelligent models based on domestically produced intelligent chips. The method involves using a porting tool provided by the domestically produced intelligent chip to rewrite the model, obtaining a model file corresponding to the version of the porting tool. If the internal logic of the original model has been changed, operators are added to the model file corresponding to the version of the porting tool, resulting in a model file with added operators, and proceeding to the next step. If no changes have been made, the method proceeds directly to the next step. The model file is then quantized to obtain a quantized model file. An offline model is generated based on the quantized model file. The original intelligent model and the offline model are loaded with the same computational example, and the results of the two models are compared. If the difference in the results meets the requirements, the porting process ends; otherwise, the porting problem is identified and the process restarts. This invention solves the compatibility problem of intelligent models without affecting the operating efficiency, response speed, and accuracy of the artificial intelligence model.
Owner:CHINA ACAD OF LAUNCH VEHICLE TECH

A digital signal processor (DSP) assembler transplantation method based on processor architecture description

ActiveCN115293200BLexical analysisEngineering
This invention discloses a method for porting a digital signal processor (DSP) assembler based on a processor architecture description, comprising the following steps: S1. Based on the processor architecture description, a lexical analysis and syntax analysis part of the assembler is constructed to realize the parsing of special assembly instructions; S2. Taking the parsed instruction data or instruction binary code as input, dynamic encoding and decoding of instructions are implemented according to the instruction definition, thereby realizing the conversion between the object file and the assembly file. This DSP assembler porting method further improves the performance of the assembler and automates the porting process, adapting it to the digital signal processor architecture. It also provides support for single instruction multiple data, very long instruction words, and instruction validity checks. While ensuring that the program execution result meets expectations, it greatly reduces the number of clock cycles required for execution, possesses universality, and meets the needs of rapid processor architecture updates.
Owner:合肥乾芯科技有限公司

Transplanting method and device for device driver between operating systems and electronic device

PendingCN121996304AReduce migration complexityEfficient transplant adaptationProgram code adaptionBootstrappingOperational systemResource management
The invention discloses a method and a device for transplanting a device driver between operating systems and electronic equipment, and relates to the technical field of computers. And in response to a drive initialization operation on the target equipment in the first operating system, starting a target drive program corresponding to the target equipment in the first operating system. And calling a drive registration function interface in the first operating system in response to the target drive program, and registering a file operation structure body of the target equipment in the second operating system into the created target structure body. A driving function pointer used for driving target equipment is packaged in the file operation structural body. The resource manager of the first operating system is packaged into the target structure body, the resource manager is initialized, the initialized resource manager is used for registering the target device node, and the target structure body can be accessed through the target device node. In this way, multiplexing of the packaged drive function can be achieved in the first operating system, and efficient transplantation adaptation of the device drive among different operating systems is achieved.
Owner:HORIZON JOURNEY (SHANGHAI) TECHNOLOGY CO LTD

Application porting method and apparatus, device, and medium

A method of porting a first application, corresponding to a third-party development tool, into a second application, corresponding to a sub-application that depends on a parent application to run, is performed by an electronic device. The device transforms the first application from a first project mechanism into a second project mechanism. The device converts a design resource in the transformed first application from a first resource format into a second resource format. The device exports the design resource to a development tool of the sub-application. The device converts a code resource in the transformed first application from a first programming language into a second programming language. The device exports the code resource to the development tool of the sub-application, The device also performs secondary development on the design resource and the code resource in the development tool of the sub-application.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Hardware abstraction method and system of airborne system, computer equipment and medium

The invention relates to the technical field of airborne system hardware abstraction, and discloses a hardware abstraction method and system for an airborne system, computer equipment and a medium, and the method comprises the steps: abstracting each physical equipment in the airborne system from different types of physical equipment into abstract equipment with the same interface, shielding the physical difference between different types of equipment, and improving the hardware abstraction efficiency. And forming the same abstract device with the same function. And meanwhile, analyzing and counting the interfaces of different types of physical equipment of each type of physical equipment to form a group of uniform interfaces of the abstract equipment. For the upper software, the method shields the physical difference of different hardware of different manufacturers, obviously improves the development efficiency and cross-platform portability of the upper software, and facilitates the development and transplantation of the upper software; for manufacturers, the method unifies the interface requirements of different models of aircrafts, and facilitates formation of lineage design and research and development of products with unified functions and different performances.
Owner:AVIC AIRBORNE SYSTEMS CO LTD

An embedded engineering driver library automatic analysis and intelligent transplantation system

PendingCN122240168AFault responseBiological modelsComputer architectureFunctional semantics
This invention discloses an automatic analysis and intelligent porting system for embedded engineering driver libraries, relating to the field of embedded engineering. The system includes: an engineering parsing module for scanning embedded engineering directories, parsing target files, and generating an engineering structure semantic model. Compared with existing technologies, the advantages of this invention are: it automatically constructs an engineering semantic description structure and simultaneously generates a driver function semantic model, realizing a digital description of the engineering structure and driver capabilities; an intelligent matching module generates an adaptation mapping relationship based on feature alignment and similarity calculation, and a driver adaptation generation module automatically generates complete adaptation code accordingly, forming a driver adaptation layer. This system transforms the traditional driver porting process, which relies on manual experience, into a standardized and automated process, significantly reducing porting costs and error rates, improving cross-platform driver reuse efficiency, and realizing the intelligent and systematic nature of embedded driver porting.
Owner:QINGDAO PORTER RHYTHM TECHNOLOGY CO LTD

An Embedded BMC Software Construction Method

This invention proposes an embedded BMC software construction method, providing a specially designed and verified operating system kernel for the BMC chip, and supporting the addition of various debugging tools and complex applications, thus increasing the operability of the porting process. The kernel's execution steps can be displayed using disassemblers and various JTAG tools, enhancing the modularity and systematization of the software solution construction work.
Owner:EAST CHINA INST OF COMPUTING TECH

A Multi-Tool Collaborative FPGA Netlist Synthesis Method and System

This invention discloses an FPGA netlist synthesis method and system based on multi-tool collaboration. The method includes: acquiring the parent layer design code of the FPGA to be synthesized; identifying logic modules in the parent layer design code that cannot be synthesized using a first synthesis tool, as these modules to be split; separating the modules to be split into a second design part, and using the remaining part of the parent layer design code as the first design part, retaining the black-box interface definitions of the modules to be split in situ within the first design part; independently synthesizing the first design part using the first synthesis tool to generate a first netlist; selecting a suitable second synthesis tool to independently synthesize the second design part to generate a second netlist; and filling the entities corresponding to the second netlist into the black-box positions of the first netlist to generate a parent layer netlist file. This method solves the problem of synthesis failure caused by a single synthesis tool's incompatibility with multiple languages ​​and IP sources, and avoids the forced porting of unmodifiable code.
Owner:SHENZHEN YUXIAN MICROELECTRONICS CO LTD

Deep learning framework adjustment methods, devices, equipment, media and program products

This application relates to a method, apparatus, device, medium, and program product for adjusting a deep learning framework. The method includes: obtaining an original deep learning framework; the original deep learning framework represents a deep learning framework whose compatibility with a heterogeneous accelerator is less than a preset value; performing basic function porting processing on the original deep learning framework to obtain an initial deep learning framework that is fully compatible with the basic functions of the heterogeneous accelerator; adding optimized and extended functions, excluding the basic functions, to the initial deep learning framework to obtain a target deep learning framework compatible with the heterogeneous accelerator. The above method, while ensuring the complete porting of the original deep learning framework's functions, further optimizes and extends the original deep learning framework to improve its compatibility with the heterogeneous accelerator, enhance the framework's performance, and ensure the framework's usability and the addition of some functions on the heterogeneous accelerator.
Owner:DAWNING INT INFORMATION IND CO LTD

Controlling virtual machine porting activity based on dynamically-calculated virtual machine predicate values in match expressions

Computer-implemented techniques for controlling virtual machine (VM) porting activities based on dynamically-calculated virtual machine predicate values. Upon receiving a command to port a subject virtual machine from a source virtualization system environment to a target virtualization system environment (wherein the source virtualization system environment and the target virtualization system environment are different), one or more match expressions that describe time of day and resource predicates conditions, under which porting operations of the subject virtual machine are to be carried out are evaluated. Based on observance of the aforementioned time of day and resource predicates, various virtual machine porting operations are either carried out (e.g., when applicable match expressions and / or predicates evaluate to TRUE), or are temporarily suspended (e.g., when the applicable match expressions and / or predicates evaluate to FALSE). Multiple virtual machines can be ported concurrently while observing VM priorities and bandwidth throttling.
Owner:NUTANIX INC

Method and system to implement usage of remote gpus

Disclosed is an improved approach to provide usage of remote GPUs. The approach provides systems and methods for executing software workloads on remote servers while preserving the appearance of local execution at a client machine. A client-side resource shim and secure network tunnel proxy interactions with operating system resources, enabling workloads to access files, networks, and GPUs on the remote server transparently. The system employs caching, mutable software environments, and replacement maps to maintain compatibility across heterogeneous hardware and optimize performance. Intelligent matchmaking and telemetry-based resource selection allow workloads to dynamically utilize appropriate remote GPUs, including across cloud providers or edge networks. The invention enables GPU arbitrage, workload porting, efficient infrastructure utilization, and transparent acceleration for edge devices without modifying the original software.
Owner:CLOUDEXE INC

Method, Device and Program Carrier for Cross-Platform Porting of Applications

A method for cross-platform porting of applications includes converting a source-platform-specific application into an application that can be run on an in-vehicle platform. The converting includes converting a source-platform-specific user interface of the application to be converted into a web-based user interface and converting a call to a source-platform-specific application programming interface (API) of the application to be converted into a call to an in-vehicle platform API.
Owner:MERCEDES BENZ GROUP AG

Computer-implemented method, computer system, and computer program (predicting work effort for porting software projects across disparate platforms)

To enable accurate determination of the work effort required to port large-scale software projects across disparate platforms.SOLUTION: A method of predicting porting work effort is provided. A total porting work effort to port a software project from a source platform to a disparate target platform is predicted using a first porting work effort, a second porting work effort, and a third porting work effort. The software project is ported from the source platform to the disparate target platform provided that the total porting work effort is less than a defined maximum porting work effort threshold level.SELECTED DRAWING: Figure 1
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

A software intelligent transplantation assisting method and system based on sw processor

PendingCN122346328ACompilation errorSoftware language
This invention belongs to the field of software porting technology, and specifically relates to a software intelligent porting assistance method and system based on the SW processor. It includes: constructing a SW processor-specific feature knowledge base; performing static analysis on the code of the software to be ported and storing it in a vector database to construct a knowledge base vector index, thereby comparing code differences; performing code preprocessing based on the analysis and vector index results, as well as the SW architecture rules and x86 to SW architecture conversion rules in the specific feature knowledge base; identifying the software language and system environment of the software to be ported and compiling it, generating compilation error logs if compilation errors occur; retrieving errors from the compilation logs, and using the SW large model to identify and call repair tools for code modification via function call functionality; this invention solves the problems of poor compatibility, low efficiency, and poor stability of existing tools adapted to this processor.
Owner:CLP KESHENTAI INFORMATION TECH CO LTD

Code analysis and conversion method, device and equipment and readable storage medium

The invention discloses a code analysis and conversion method, device and equipment and a readable storage medium. In the code analysis stage, embedded program codes are sequentially partitioned, process control instructions in all code blocks are analyzed, the code blocks are divided into sub-code blocks, and the process relation and jump conditions between the sub-code blocks are established; and performing iterative processing until splitting cannot be continued, constructing a register mapping structure by utilizing the target code in a code conversion stage, converting each code block instruction into a target instruction set instruction through an instruction conversion library, packaging sub-code blocks containing a circulation process by using a target circulation instruction, and splicing the converted code blocks according to an execution process to generate the target code. Through block analysis and dynamic instruction conversion, an embedded program code is disassembled into atomic units according to a process structure, a mapping relation is established, automatic transplantation of a cross-architecture code is realized based on register architecture adaptation and semantic conversion of an instruction library, the workload of manual transplantation is remarkably reduced, and functional consistency is ensured.
Owner:TIANFU JIANGXI LAB

Transplanting method and testing method of ThreadX SMP operating system

The invention provides a transplanting method and a testing method of a ThreadX SMP operating system, the transplanting method is used for transplanting the operating system to an RISC-V64-bit processor for operation, and the transplanting method comprises the following steps: obtaining hardware needing to be adapted on the RISC-V64-bit processor as target hardware; according to the condition of the target hardware, codes corresponding to a plurality of program modules of a ThreadX SMP operating system are modified and / or written, adaptation of the ThreadX SMP operating system to the target hardware of the RISC-V64-bit processor is completed, and the program modules are assembly programs written by using an RISC-V instruction. According to the technical scheme, the ThreadX SMP operating system is adapted to each interface between the target hardware and the ThreadX SMP operating system, so that the ThreadX SMP operating system can normally run on the processor with the RISC-V64-bit architecture, and the transplanting work of the ThreadX SMP operating system is realized. Through testing, the transplanted system can run reliably.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Method for rapid porting of electron software

The method for quickly transplanting electron software comprises the following steps: adding the code of the target architecture in the v8 directory of the electron source code; modifying the v8 test program to increase the test program of the target architecture; searching the existing CPU architecture related code in the third party software of the electron source code, and increasing the corresponding code of the target CPU architecture in the source code according to the specification of the target CPU architecture; modifying the compiling mode of the third party software ffmpeg of the electron source code; searching the existing CPU architecture related code in the main directory of the electron source code, and increasing the corresponding code of the target CPU architecture in the source code according to the specification of the target CPU architecture; and executing the electron building command. The present application can save the development time of the domestic CPU platform electron transplantation.
Owner:KYLIN CORP

AD7616-based full-hardware autonomous analog-to-digital conversion device and method

The invention belongs to the technical field of analog-to-digital conversion, and relates to an AD7616-based full-hardware autonomous analog-to-digital conversion device and method. A self-developed A / D conversion logic control state machine is designed at the FPGA end, continuous and autonomous operation of the analog-to-digital conversion process guided by a lower computer is achieved, and a conversion result is temporarily stored in an FPGA register to be read by an upper computer according to needs. The device comprises an AD7616 analog-to-digital converter, an FPGA main control chip, a communication interface and the like, wherein an A / D conversion logic control state machine is used for controlling the AD7616 to complete a series of operations from configuration parameter setting to analog-to-digital conversion to analog-to-digital conversion data reading. The method has the advantages of being uniform in sampling rate, not affected by the bus transmission rate of the upper computer, easy to transplant and the like, can reduce the time cost and risk of driving transplant, improves the consistency and reliability of sampling results, and is suitable for various systems needing analog-to-digital conversion.
Owner:CHINA STATE SHIPBUILDING CORP NO 707 RES INST

An apparatus and method for constructing a web front-end application based on object technology

This invention discloses an apparatus and method for building web front-end applications based on object technology, belonging to the field of Internet technology. It solves the technical problems of existing technologies for building web front-end applications, such as the high learning cost caused by the separation of HTML, CSS, and JavaScript in traditional native methods; difficulties in data access between components during runtime in component-based methods; instability of common basic code and redundant code during component reuse; and difficulties in code understanding, porting, and debugging due to significant differences between component-based implementations and traditional native methods. It includes a main application base class, page view base class, storage base class, event base class, and loading and packaging tool base class, encapsulating common and basic functions in these base classes, while the specific page and function-related code required by the web application is implemented by their respective derived classes. This invention is convenient and quick to build, has a low learning cost, overcomes the problems of unstable common basic code and redundant code in existing component-based methods, and reduces the complexity of inter-component access and operation.
Owner:CHENGDU SUOJI TECH CO LTD

Regular expression matching library transplantation and optimization method and system, medium and equipment

The invention discloses a regular expression matching library transplantation and optimization method and system, a medium and equipment, and belongs to the technical field of character string processing and pattern recognition. The X86 platform characteristics are shielded; the SWSIMD identifier is used as a Weixin H8000 vector branch identifier; redefining an m128 data type; all SSE instruction interfaces in the Hyperscan are counted, and an instruction function is achieved in a scalar array mode; redefining the type of the m256 data; an SWSIMD identifier is started, and Weixin H8000 vector branch support is added; a Hyperscan vector instruction is replaced, and the Hyperscan vector instruction is obtained; and replacing the basic data type operation of small bytes with the basic data type operation of large bytes. According to the method, the problem that the SSE instruction set acceleration module realized by Hyperscan default lacks general processor branch adaptation capability, so that the SSE instruction set acceleration module cannot be originally operated on the Weixin H8000 platform is solved.
Owner:WUXI ADVANCED TECH RES INST

File system migration method, device, equipment and storage medium

This application provides a file system porting method, apparatus, device, and storage medium. The method includes: displaying a configuration interface, the configuration interface including a configuration component; receiving device parameters of a target memory input by a user for the configuration component; compiling source files of a target operating system according to the device parameters of the target memory to obtain an executable file, wherein the source files of the target operating system include source code of the target file system, and the executable file is executed by a first electronic device to instruct the first electronic device, during the initialization process of the target operating system, to determine device parameters for use by a driver program of the target file system according to the device parameters of the target memory, wherein the first electronic device is equipped with the target memory. This application can improve the porting efficiency of file systems.
Owner:LOONGSON TECH CORP

Wind turbine generator control program generation method and device based on Excel file

The invention discloses a wind turbine generator control program generation method and device based on an Excel file. The method comprises the steps that safety rules, hardware address mapping and control equipment interaction mapping of a wind turbine generator are configured through an Excel table; the Excel table is analyzed, and a structured data file used for representing all component parameters and control logic of the wind turbine generator is generated; according to a preset conversion rule, the structured data file is converted into executable codes called by a master control function of the wind turbine generator, and the executable codes comprise an equipment parameter initialization function, a control algorithm function and a technical document generation rule; and generating a control code which can be directly executed by the wind turbine generator according to the conversion rule, and generating a technical document. By implementing the method, the development efficiency of the wind turbine generator control system can be greatly improved, the integrity of safety protection logic is ensured, and the hardware adaptation and system transplantation process is simplified.
Owner:GUODIAN UNITED POWER TECH

Driving implantation method, device and electronic equipment

This application provides a driver porting method, apparatus, and electronic device. The driver porting method includes: determining the hardware configuration differences between the first operating system and the second operating system based on a first device tree file of a first operating system and a second device tree file of a second operating system; ensuring that both the first and second operating systems support running on the same hardware platform; adapting and adjusting the second device tree file based on the hardware configuration differences; compiling and converting a first compiled file of the first operating system to obtain a second compiled file suitable for the second operating system; and porting the source code file of the target driver from the first operating system to the second operating system based on the adapted and adjusted second device tree file and second compiled file. The technical solution of this application can achieve end-to-end automated driver porting, improving porting efficiency.
Owner:杭州创达智远软件科技有限公司

CODESYS runtime software transplantation method, device and storage medium

The present invention discloses a method, device, and storage medium for porting CODESYS runtime software, relating to the technical field of software porting. The method includes obtaining specific macro definitions in a Makefile script; obtaining a libcobalt library header file and a Xenomai header file based on compilation parameters within the Makefile script; locating a source code file of a specified format within the path where the Makefile script is located, and converting the source code file of the specified format into a binary target file based on the libcobalt library header file and the Xenomai header file; obtaining a static library file; obtaining library files for a real-time-related library, libcobalt, and a memory management library; passing a main function wrapper parameter to a local linker; and linking the binary target file, the static library file, the library files for the real-time-related library, libcobalt, and the memory management library via the local linker to obtain a target file executable within the Xenomai framework. The method, device, and storage medium disclosed in the present invention can port CODESYS runtime software to a system within the Xenomai framework.
Owner:ZHONGKE TIMES (SHENZHEN) COMPUTER SYST CO LTD

A construction method of a multi-storage system general query language

The application provides a construction method of a general query language of a multi-storage system, which comprises the following steps: designing a syntax of the general query language; writing a description script of the syntax rule; using a compiler to generate executable syntax analysis code by taking the syntax rule file as input; inputting a specific sentence of the general query language, processing by lexical analysis and syntax analysis, and generating a syntax analysis tree; analyzing the content in the syntax analysis tree, combining with the type of a target storage system, and translating the syntax analysis tree into a target query language; executing the target query language to realize the query of the target storage system; and converting the query result into a unified structure to provide a query client. The application simplifies the selection of the storage system and improves the freedom degree of the selection of the storage system; a business system developer can realize the data query of the multi-storage system by learning only one syntax; the application has high expansibility, is convenient for porting and compatible with the existing storage system, and improves the development efficiency of the application software.
Owner:CHANGZHOU OBSERVATION CLOUD INFORMATION TECHNOLOGY CO LTD

Data transmission method and device, equipment, storage medium and program product

The invention provides a data transmission method and device, equipment, a storage medium and a program product. According to the method, the DDS system is divided into a memory allocator, an interface calling layer and a data processing layer; wherein the interface calling layer is a virtual platform layer which is independent by splitting a part, which depends on related functions of an operating system running on a bottom layer, of the DDS system; according to the DDS system deployed on different operating systems, the interface calling layer in the DDS system only needs to be combined with the function calling interface corresponding to the operating system for configuration, and the transplantation cost of the DDS system in different operating environments is reduced. In the data transmission process, transmission memory resources needed by data to be transmitted are determined through the memory allocator so as to meet the requirement that the CP environment cannot dynamically allocate the memory during operation, and the interface of the corresponding operating system is called through the interface calling layer to achieve receiving and sending of the data so as to achieve data transmission between different operating systems.
Owner:ZEBRED NETWORK TECH CO LTD

Porting at least one programming language package to a target operating system platform

Techniques are described with regard to programming language adaptation to a target operating system platform. An associated method includes receiving at least one build parsing error consequent to compiling at least one current programming language package on the target operating system platform. Responsive to determining that there is no special override porting module corresponding to the at least one current programming language package, the method further includes porting the at least one current programming language package to the target operating system platform automatically by addressing at least one undefined symbol among the at least one build parsing error. Responsive to determining that there is at least one special override porting module corresponding to the at least one current programming language package, the method further includes porting the at least one current programming language package to the target operating system platform according to the at least one special override porting module.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Agricultural machinery high adaptability embedded software architecture system, method and terminal

This invention provides a highly adaptable embedded software architecture system, method, and terminal for agricultural machinery. It receives user-initiated agricultural machinery operation requests and passes them to the application service layer; based on the operation request, it calls the corresponding service interface and further adapts it into a function call instruction; based on the function call instruction, it calls the corresponding virtual function object and sends a standardized call request to the underlying adaptation components; finally, it executes the corresponding hardware driver operation and system scheduling operation. This invention solves the problem in existing technologies where hardware drivers and system functions on agricultural machinery are highly bound, making flexible adaptation between multiple hardware and operating systems difficult. Targeting the special operating scenarios of agricultural machinery, this invention possesses multi-hardware platform adaptation and multi-operating system compatibility capabilities, while ensuring efficient real-time response and reducing porting and reconstruction costs.
Owner:SHANGHAI HUANGUO INFORMATION TECHNOLOGY CO LTD

A data-driven software cross-instruction set architecture porting method

PendingCN122363753ACode snippetObject code
This invention provides a data-driven method for porting software across instruction set architectures, relating to the field of software porting technology. By constructing a cross-architecture porting knowledge base, this invention transforms successful porting cases from the open-source ecosystem into reusable and searchable structured knowledge, overcoming the limitations of traditional porting methods that rely on expert experience or general tools. This enables efficient and accurate porting of C / C++ source code. This invention optimizes vector function content, ensuring accuracy and performance through in-depth analysis of differences in vector functions across architectures. Tree-sitter static analysis is used to precisely locate the code to be ported. Combined with contextual information, code examples, architectural knowledge, the code snippet to be ported, and other contextual information, structured prompts are generated. Furthermore, iterative feedback from static checking rules generates code, effectively automating the generation of target code and reducing the cost of manual porting.
Owner:NORTHEASTERN UNIV CHINA