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

153 results about "Compile time" patented technology

In computer science, compile time refers to either the operations performed by a compiler (the "compile-time operations"), programming language requirements that must be met by source code for it to be successfully compiled (the "compile-time requirements"), or properties of the program that can be reasoned about during compilation. Compile time refers to the time duration during which the statements or the time in which the programming code is converted to the machine under stable code i.e binary code .

UVM verification platform and verification test execution method

The invention discloses a UVM verification platform and a verification test execution method, and relates to the technical field of integrated circuits, the verification platform comprises a file management module used for sending a test case file to a script processing module; the script processing module is used for acquiring a test case name and a hardware parameter according to the test case file, and sending the test case name and the hardware parameter to the command generation module; the command generation module is used for generating a target simulation command according to the test case name and the hardware parameters and sending the target simulation command to the compiling library; and the compiling library is used for verifying and testing the design unit according to the basic use case information and the target simulation command. According to the technical scheme, on the premise that the number of the test cases is not changed, the scale of the compiling library of the UVM verification platform is reduced, the compiling time consumption and the dynamic simulation time consumption of the compiling library are reduced, and the verification test execution efficiency of the UVM verification platform is improved.
Owner:BEIJING TONGFANG MICROELECTRONICS

Deep learning compilation optimization method and device, electronic equipment and storage medium

The invention provides a deep learning compilation optimization method and device, electronic equipment and a storage medium, and the method comprises the steps: expressing a deep neural network as a computational graph through a deep learning framework, and converting the computational graph into a middle layer between the deep learning framework and a deep learning compiler; marking operators needing to be compiled in the middle layer, and clustering the marked operators into a plurality of sub-graphs; the sub-graph comprises at least one fusion operator, and the fusion operator is obtained by fusing a plurality of marked operators; compiling the fusion operator on line through a deep learning compiler, and generating a kernel code of the fusion operator; the online compilation comprises the step of converting the innermost loop code into a calling code of the microkernel based on the microkernel library. According to the method, the flexibility of programming and the high efficiency of calculation can be considered, the development efficiency is improved, the problem of large code generation search space is solved, and the compiling time overhead is reduced.
Owner:北京辉羲智能科技有限公司

Cloud computing system, method and computer program

A method for configuring a controller of an industrial automation system via a network includes obtaining, by a cloud computing system, a controller configuration and a controller program. The cloud computing system generates, based on the obtained controller configuration and the obtained controller program, a compile time representation of the controller allowing modification of the controller program and the controller configuration. The cloud computing system also generates a modified controller program and a modified controller configuration, using the compile time representation of the controller, wherein the controller program defines runtime operation of the controller controlling a subsystem of the industrial automation system. The cloud computing system provides, via the network, the modified controller program and the modified controller configuration to the controller of the industrial automation system.
Owner:SOFTWARE DEFINED AUTOMATION GMBH

Hardware-Software Co-Design to Accelerate Garbled Circuits

A novel garbled circuit (GC) accelerator and compiler, named HAAC, mitigates performance overheads and makes privacy-preserving computation more practical. HAAC is a hardware-software co-design. GCs are exemplars of co-design as programs are completely known at compile time because all dependence, memory accesses, and control flow are fixed. The compiler can leverage its program understanding to realize hardware's performance potential by generating effective instruction schedules, data layouts, and managing off-chip events. Arbitrary GC programs may be expressed as streams, which simplifies hardware, and the development of an adaptive, on-chip scratchpad that tracks program execution to capture data reuse despite the lack of a regular access pattern or requiring tagging.
Owner:NEW YORK UNIV

Self-optimizing and self-programming computing systems: a combined compiler, complex networks, and machine learning approach

A self-optimizing and self-programming computing system (SOSPCS) design framework that achieves both programmability and flexibility and exploits computing heterogeneity [e.g., CPUs, GPUs, and hardware accelerators (HWAs)] is provided. First, at compile time, a task pool consisting of hybrid tasks with different processing element (PE) affinities according to target applications is formed. Tasks preferred to be executed on GPUs or accelerators are detected from target applications by neural networks. Tasks suitable to run on CPUs are formed by community detection to minimize data movement overhead. Next, a distributed reinforcement learning-based approach is used at runtime to allow agents to map the tasks onto the network-on-chip-based heterogeneous PEs by learning an optimal policy based on Q values in the environment.
Owner:UNIV OF SOUTHERN CALIFORNIA

AOP-based user behavior data acquisition method

The invention relates to the technical field of data acquisition, in particular to an AOP-based user behavior data acquisition method. The method comprises the following steps: firstly, identifying user behavior related code features by statically analyzing Java source codes of an application program, and constructing a feature template library; during a compiling period, according to a template library identification target method, embedding a point burying instruction by utilizing a byte code enhancement technology, and constructing a monitoring section framework; and during running, dynamically adjusting an execution strategy according to the running state of the application program by virtue of a dynamic rule engine. Meanwhile, an annular buffer area is adopted to asynchronously process user behavior data streams, cache data are managed in a sub-generation mode, and asynchronous processing is triggered when a threshold value is exceeded. The method also constructs an adaptive thread pool model based on a hierarchical thread pool architecture, distributes tasks according to data value weights, monitors the task backlog rate of a high-priority sub-pool, adjusts the sampling frequency or acquisition dimension when the task backlog rate exceeds a threshold value, forms adaptive closed-loop control, and effectively acquires and processes user behavior data.
Owner:STATE GRID FUJIAN ELECTRIC POWER CO LTD

Method and device for determining program memory allocation based on large model, equipment and medium

The invention relates to a method and device for determining program memory allocation based on a large model, equipment and a medium, and the method comprises the steps: obtaining data for determining program memory allocation in a compiling period, and constructing a memory allocation data set which comprises a code slice set and a header file for recording memory allocation; adjusting a large language model by adopting the memory allocation data set to obtain an adjusted target large language model; and obtaining a target application program code, reasoning the target application program code by adopting the target large language model, and generating a target header file for recording memory allocation, which is used for determining the memory allocation of a program in a compilation period. According to the method, the memory allocation condition can be automatically confirmed in the compiling period, the response speed is increased, and the method is suitable for a programming scene with high requirements for real-time performance and safety key performance.
Owner:GUOKE FOUNDATION STONE (CHONGQING) SOFTWARE CO LTD

Unrolling an infinite loop during ray query traversal

This disclosure provides systems, devices, apparatus, and methods, including computer programs encoded on storage media, for unrolling an infinite loop during ray query traversal. A processor obtains, during a compile time, a number of loops associated with a BVH traversal based on a number of ray triangle intersections and a number of ray box intersections and / or a set of features associated with the BVH traversal and code generation associated with a shader. The processor determines, during the compile time, a loop unroll factor based on at least one of the obtained number of loops or the obtained set of features. The processor adjusts, during the compile time, a number of iterations of a loop associated with the BVH traversal based on the loop unroll factor. The processor outputs an indication of the adjusted number of iterations.
Owner:QUALCOMM INC

Dataflow Graph Performance Debugger And Design Rule Checker For CGRA

A system comprising a tool for providing actionable insight for bring up and performance debug of performant dataflow graphs on CGRA. A system comprising a tool for providing hierarchical traceable graph transformation of dataflow graph and annotated with runtime information after the compilation and execution back onto higher levels of stack from hardware metrics. A system comprising a tool for system performance monitoring and tuning by composition of compile time and runtime information of a workload dataflow graph on CGRA.
Owner:SAMBANOVA SYSTEMS INC

Content-Addressable Memory based Nondeterministic Finite Automata Accelerator

Systems and methods are provided for using TCAM tables in an NFA accelerator to achieve high throughput regular expression matching, improved scalability, improved resource utilization, and runtime and compile time reconfigurability, while remaining easy-to-deploy (no reliance on specialized hardware) thereby reducing customer barrier-to-entry. The architecture is programmable at runtime due to its dependency on TCAM for its configuration data. Moreover, FPGA gates may be used in the NFA accelerator and may be replaced at runtime using partial reconfiguration to allow limitations in the number of indirection tables and the capacities of the TCAMs to be adjusted at runtime.
Owner:ALTERA CORP

Compiler performance optimization method

The invention provides a compiler performance optimization method. The compiler performance optimization method comprises the steps that a source code program is compiled into an initial intermediate code # imgabs0 # based on the lowest optimization level; executing each optimization in the complete optimization list set on the initial intermediate code # imgabs1 # in sequence to obtain an intermediate code of an execution result; calculating intermediate representation complexity of the intermediate code; according to the intermediate representation complexity of each intermediate code, an optimization with a forward optimization effect is screened out; and compiling the source program code into a target program based on forward optimization. The invention provides a method for judging optimization effectiveness on an intermediate code level according to intermediate representation complexity. The method is used for avoiding invalid or negative optimization in the compiling process. The method does not depend on a specific hardware architecture, has good universality and is suitable for various target platforms; and the optimization effect is dynamically evaluated on the intermediate language level, so that the compiling time is greatly shortened, and the performance of the target program is better.
Owner:WUHAN LINGJIU MICROELECTRONICS CO LTD

Shim based secure module access

Systems and methods comprising at least one node comprising an application container; a container image associated with the application container; a static analyzer module deployed to analyze the container image, with instructions configured to autonomously parse, code of an application, during compile time of the application, wherein the application is to be deployed in the application container; determine, based on the parsing, for at least one section of the code, at least one module necessary for execution of the at least one section; annotate, the at least one section of the code, based on the determined at least one module; and inject, at least one wrapper around the at least one section of the code, wherein the wrapper adds at least one restriction to an execution of the at least one section at runtime, wherein the restrictions are based on at least one condition.
Owner:RED HAT LLC

Parallel compiler compiling method and system supporting multiple operating systems

The invention discloses a parallel compiler compiling method and system supporting multiple operating systems, which can fully utilize the advantages of a multi-processor or multi-core system and process a plurality of compiling tasks at the same time by acquiring a parallel compiling file, thereby greatly shortening the compiling time. The parallel compiling can significantly improve the compiling speed of large files, especially for complex software projects, the development cycle can be accelerated, and the development efficiency can be improved. A main function node is transformed, AST tree nodes corresponding to operating system interfaces are generated in combination with parallel compiling parameters, and then the AST tree nodes are inserted into an AST tree for node transformation operation, so that compiled files can run on a plurality of operating systems. According to the method, the barrier between different operating systems is broken, a developer does not need to independently write and maintain codes of different versions for each operating system, and the development and maintenance cost is reduced. The method allows adjustment according to different parallel compilation parameters to adapt to various compilation requirements.
Owner:XIAN MICROELECTRONICS TECH INST

Random function selection and insertion during compilation for post-silicon validation

A computer system, computer readable storage medium, and computer-implemented method for generating a test program for a device-under-test (DUT). The method includes transmitting a plurality of uncompiled snippets and a plurality of uncompiled micro-functions into a compiler. The method also includes selecting, randomly, a portion of uncompiled micro-functions from the plurality of uncompiled micro-functions. The method further includes compiling the uncompiled snippets and the portion of uncompiled micro-functions, thereby generating a plurality of compiled snippets and a compiled portion of micro-functions. The method also includes interweaving, randomly, the compiled portion of micro-functions with the plurality of compiled snippets, thereby at least partially generating a test program for the DUT. The method further includes executing one or more post-silicon validation tests for the DUT with the test program.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Hook method and apparatus for compile time, device, and storage medium

Provided are a hook method and apparatus for compile time, a device, and a storage medium. The method includes: first, receiving a hook code file and a target program source code (S101), the hook code file including a correspondence between predetermined locating information and a predetermined object processing scheme; converting the target program source code into an abstract syntax tree, and then determining a node in the abstract syntax tree corresponding to the predetermined locating information in the hook code file (S102); modifying the node in the abstract syntax tree corresponding to the predetermined locating information in the hook code file by using the predetermined object processing scheme corresponding to the predetermined locating information in the hook code file, to obtain an updated abstract syntax tree (S103); and finally, generating a target program based on the updated abstract syntax tree (S104).
Owner:DOUYIN VISION CO LTD

Compile time processing of extract, transform, load process

A system receives ETL specification for processing stream data, including a transform operation represented using a database query specification. The system generates a dataflow graph of a sequence of database queries by decomposing the database query into a first database query that generates an intermediate results table, and a second database query that receives as input the intermediate results table and outputs data used for performing the transform operation. The system executes the sequence of database queries for performing the transform operation on stream data received from the source. When receiving an incremental data set, the system determines an output change set based on the received incremental data set by traversing an execution plan and processing each operator in the execution plan, and computing a change set of a particular operator from the change sets output by the one or more other operators based on the incremental data set.
Owner:DATABRICKS INC

Detecting uninitialized variables during program pre-compilation using control flow graphs

PendingUS20260044322A1Code compilationUninitialized variableTheoretical computer science
In various examples, static single assignment-based control flow graph traversal analysis for uninitialized variable detection system and methods are disclosed. A pre-compiler stage of a compiler system, may reconstruct source code into an SSA form IR and detect and identify uninitialized variables based on applying a variable analysis pass that traverses a CFG corresponding to the SSA form IR. A variable analysis pass may traverse through the CFG to build a defined variable map and a Phi variable map. The maps may be used to map undefined variables to basic blocks of the CFG where the undefined variables occur. The variable analysis pass may pass uninitialized variable data to a compiler error handling process. The compiler error handling process may produce an error report that traces the basic block with undefined variables to lines of the source code to assist in efficiently debugging the source code.
Owner:NVIDIA CORP

A compiling method and an electronic device

ActiveCN121143798BSource codeCompile time
The embodiment of the present application provides a kind of compiling method and electronic equipment, it is related to computer technical field, to solve the problem of low compiling efficiency when the source code is compiled currently.The method, at the time of compiling, can utilize the binary file corresponding to the API information of the binary file that is precompiled with the target function module to be compiled, and the source code of the target function module is compiled, to obtain the machine executable binary file of the target function module.Wherein, binary file is precompiled, not generated at the time of compiling.Furthermore, the binary file that is compiled corresponds to API information, according to the binary file corresponding to the second function module and the API information of the binary file, the compilation of the first source code can be completed, without further determining the function module that the second function module depends on, so that the process of compiling is also simplified, and the compiling time can be reduced, and the compiling efficiency is improved.
Owner:HUAWEI TECH CO LTD

Control flow integrity protection method and related device

The invention discloses a control flow integrity protection method and a related device, and the method can judge whether a function starts to be executed from a starting position of the function or not before an indirect jump instruction of the function is executed, if yes, it is indicated that the possibility of JOP attack in the execution process of the function is small, the function can continue to be executed, and if not, it is indicated that JOP attack exists in the execution process of the function. If yes, JOP attacks possibly exist in the execution process of the function, and execution of the function can be stopped. Therefore, the method can monitor whether the control flow of the function in the execution process is abnormal or not, and further reflects whether the JOP attack occurs or not in the execution process of the function. Moreover, the method does not need to analyze the global call relationship of the function, shortens the compiling time, does not need to generate a CFI check table, reduces the occupation of the memory space, omits the step of table look-up verification, can judge whether the current program control flow is tampered or not only by judging one mark, and improves the verification speed.
Owner:HUAWEI TECH CO LTD

Object conversion method, system and medium based on runtime bytecode editing

The present invention provides an object conversion method, system, medium and device based on runtime bytecode editing, including: when an object converter for converting from a source object to a target object already exists in the cache, the object converter is directly called to complete the conversion task; otherwise, an object converter is dynamically generated during program execution according to the bytecode specification of the JVM, and high-performance object conversion is achieved in combination with object cache technology; the bytecode of the JVM is a binary string stored in the memory, the bytecode specification of the JVM specifies the format of the binary string, and the object converter is a binary string content generated according to the bytecode specification of the JVM. The present invention solves the problems of code intrusion and additional compile-time plug-in dependency by adopting runtime bytecode generation technology.
Owner:欧冶工业品股份有限公司

Rapid log collection strategy based on RUST attribute macro

According to the rapid log collection strategy based on the Rust attribute macro, the log code is generated in the compiling stage by defining the Rust attribute macro, and therefore the log collection function is integrated into the target code. The macro identifies the marked code snippets by parsing the syntax tree of the target code, and automatically generates and injects log code during compilation. The generated log code comprises log message formatting, log level setting and efficient log writing. According to the strategy, the log collection performance can be remarkably improved, the maintenance of log codes is simplified, a unified log collection mechanism is provided, and the method is suitable for the log collection requirement of a Rust system.
Owner:XIAMEN CLOUD FRAME ANALYSIS TECH CO LTD

One-to-many service discovery and dynamic loading method and system in a harmonious application

PendingCN122633270APathPingSoftware engineering
The application provides a one-to-many service discovery and dynamic loading method and system in a Hongmeng application, comprising: AST analysis of ArkTS source code by a TypeScript compiler API in a compilation period, identification of a class marked by a @HMModularService decorator, extraction of a service path, a class name, a module name, an instantiation mode and a unique identifier as metadata, generation of a module-level mapping table and merging into a global mapping table, and establishment of a one-to-many mapping relationship from the service path to an implementation item array; loading of the global mapping table into a memory Map structure in a running period, receiving of a service query request from a calling party, searching for a corresponding implementation item according to the service path and supporting of filtering according to an identifier; dynamic loading of a target HSP module by calling a napi_load_module_with_info native interface, obtaining of a constructor from an export object and creation of an instance, and caching of a singleton mode implementation item.
Owner:SHANGHAI JIUFANGYUN INTELLIGENT TECH CO LTD

Structured storage fixed-length serialization method and system based on Rust process macro

The invention relates to the technical field of data serialization, and particularly provides a structured storage fixed-length serialization method and system based on a Rust process macro, and the method comprises the following steps: analyzing declarative attributes in a structured data definition through the Rust process macro, and obtaining a preset fixed length of a variable-length field; based on the preset fixed length, automatically configuring the memory capacity for the variable-length field to avoid dynamic capacity expansion; converting the structured data into a byte sequence by adopting a fixed-length serialization algorithm, so that the total length of the byte sequence is fixed and is irrelevant to a field actual value; when the actual data length of the variable-length field exceeds a preset fixed length, intelligent truncation is performed on the actual data, and the data integrity is maintained; performing type verification on the serialization process in a compiling period by utilizing a type checking mechanism of a Rust compiler; the execution logic of the previous steps is generated in the compiling period through the Rust process macro, so that no redundant operation exists in the running process; according to the scheme, the fixed-length serialization processing of the structured data is comprehensively optimized.
Owner:FUJIAN JINJIANG THERMAL POWER CO LTD

Method, system and equipment for calling generic method by using Rust language

PendingCN122064402AAddresses core limitation of not supporting generic methodstype safetyDigital data information retrievalExecution paradigmsCode generationTrait
The invention discloses a method, a system and equipment for calling a generic method by a Rust language. Wherein. The method comprises an expansion step during compiling and a calling step during running, during compiling, a package function for expanding trait and type erasure / recovery is automatically generated through process macro analysis trait and specific implementation, and mapping of the type and the package function is registered to a global table. During operation, when the generic method is called for the trait object, the registry is inquired according to the actual type, the corresponding packaging function is found and executed, and therefore the original generic method is indirectly called for implementation. The core is to realize dynamic distribution of generic methods through compilation period code generation and runtime search. According to the method, the core limitation that the trait object in the Rust language does not support the generic method is successfully solved, and the dynamic generic method calling with safe type and zero running overhead is realized.
Owner:GUANGZHOU AVA ELECTRONICS TECH CO LTD

Method and device for simultaneously compiling multiple architectures, computer equipment and storage medium

The invention relates to the technical field of computer compiling, and discloses a method and a device for simultaneously compiling multiple architectures, computer equipment and a storage medium. According to the method for simultaneously compiling the multiple architectures, the code files input by the user are processed through the user-defined linker, the multiple code files are analyzed, and therefore analysis operation in the compiling process in all the architectures can be advanced, and a unified intermediate file is generated. And continuing to compile the generated unified intermediate file in each architecture, and finally obtaining an executable file or a library file corresponding to each architecture. According to the embodiment of the invention, the analysis operation is advanced, and the unified intermediate file is generated, so that the analysis operation does not need to be executed for multiple times when compiling is continued under each framework, and the effects of shortening the compiling time and saving computing resources can be achieved.
Owner:JINAN MAIWEI INTELLIGENT TECHNOLOGY CO LTD

Script generation method and device, equipment, storage medium and program product

PendingCN122268697AImplementation partImplement all stepsError detection/correctionBus networksComputer hardwareArea network
The application provides a script generation method and device, equipment, storage medium and program product, wherein the script generation method is applied to a vehicle, comprising: during pre-compilation, obtaining a standardization document of the vehicle; the standardization document comprises signal data of controller area network (CAN) signals transmitted between an application layer and a framework layer in the vehicle; based on the signal data of each CAN signal in the standardization document, a communication method of each CAN signal is generated; the communication method is used for transmitting the CAN signal between the application layer and the framework layer; according to the communication method of each CAN signal, a script file is generated; the script file is used to be loaded during compilation so that the communication method in the script file is called. Through the above method, the efficiency and accuracy of obtaining the CAN signal of the vehicle are improved.
Owner:SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD

Providing device-specific firmware for embedded devices

A system and method for creating individual firmware for an embedded device includes providing a provisioning service comprising a library of predetermined source code modules in which functionalities from a predetermined catalog are implemented, wherein a user of the embedded device is excluded from reading access to the source code modules. The method can also include receiving, from at least one requester, by the provisioning service, a selection of functionalities to be provided in the individual firmware from the predetermined catalog of available functionalities and translating this selection into instructions for compiling associated source code modules into machine code modules by the provisioning service such that the union set of machine code modules provides the functionalities from the selection. The method can further include executing the instructions for compilation by the provisioning service, generating the individual firmware using the machine code modules created during compilation by the provisioning service, and transmitting the individual firmware from the provisioning service to the user of the embedded device, and / or directly to the embedded device.
Owner:BASLER AG

Program variable value forcing method and device during PLC program operation

The invention provides a program variable value forcing method and device during PLC program running, and the method comprises the steps: obtaining variable definition code information through an interactive interface; the compiler compiles the variable definition code information, generates a forcing function program for realizing variable value forcing and downloads the forcing function program to the PLC, and the forcing function program sets a target pointer corresponding to a target variable to point to a specified memory address from pointing to an original target memory address; a variable value forced limiting command is obtained through the interactive interface, and the variable value forced limiting command is used for requesting to forcibly limit a variable value of a target variable in a target PLC program running by the PLC to be a target value; and the PLC executes a forcing function program to endow a target value to a memory space pointed by the target memory address, and forcibly limits the variable value of the target variable to be the target value. The problem that compilation time and program running time are prolonged due to the fact that a target file generated through compilation is larger due to variable value forced limitation is solved.
Owner:KYLAND TECH CO LTD

Hierarchical compiling and execution in a machine learning hardware accelerator

This disclosure describes a system and method for compiling and executing machine learning inferences in an array of multi-core computing devices. Each multi-core computing device can be an application specific integrated circuit (ASIC) or group of ASICS. In many applications, the array of computing devices changes from inference to inference, and can be adjusted based on the requirements of the inference. Additionally, each ASIC can have multiple processing cores, and multiple types of processing cores. Therefore, performing optimizations and scheduling at compile time, can dramatically increase the efficiency of the array in executing the inference. In some implementations, it is possible to select an amount of time or effort to be spent optimizing during compiling, giving the user flexibility in determining whether to spend time during compilation or during execution.
Owner:GOOGLE LLC