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

97 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 .

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

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

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

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

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

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

Semantic script language processing

A method and system provide the ability to process source computer instructions. The source computer instructions are obtained and include input statements that consist of two functions that consume one or more arguments. A legal configuration of the functions and arguments is determined. A first function can be evaluated to yield a non-variable value, and a second function cannot be evaluated to yield a non-variable value. The input statements are compiled into executable code using the determined legal configuration such that during compilation, the first function is executed, and instructions are emitted to execute the second function at an indeterminate time.
Owner:AUTODESK INC

Systems and methods for monitoring an instruction bus

Systems and methods for validating operation of a software sequence may include: monitoring signals on a bus of a processor, comparing the contents of the signals on the bus to pre-stored information from compile time. If the comparing generates a match, that may indicate that the software sequence is operating as intended. However, if the comparing generates a mismatch, that may indicate that the software sequence is not operating as intended and may, in fact, indicate a malicious use. Further actions can be taken in response to a mismatch, including resetting a processor, issuing an interrupt, and the like.
Owner:TEXAS INSTRUMENTS INC

Off-line software-in-the-loop simulation development system and method

The present invention provides an off-line software-in-the-loop simulation development system and an off-line software-in-the-loop simulation method. A general firmware architecture is compiled to generate a chip control program. The general firmware architecture includes an application layer and a hardware abstraction layer. The application layer has a setup header file and a product program. Processing programs required by peripheral modules are added to the hardware abstraction layer at compile time. The chip control program is provided to a controller chip or circuit simulation software to control product-related circuits by controlling peripheral modules.
Owner:DELTA ELECTRONICS INC(CN)

Compilation period parameter classification method and device, target code generation method and device and computer equipment

The invention relates to a compiling period parameter classification method and device, a target code generation method and device and computer equipment. The method comprises the steps of determining type information of a formal parameter list of a to-be-extracted function and a return value type in a compiling period; based on the function behavior of the to-be-extracted function, various types of information and return value types of the formal parameter list are processed in a recursive mode, and an input parameter type and an output parameter type are obtained; and classifying the formal parameters belonging to the input parameter type into an input parameter tuple list, and classifying the formal parameters belonging to the output parameter type into an output parameter tuple list. By adopting the method, automatic classification of parameter types can be realized under the condition of not depending on an IDL (Independent Disk Language) file.
Owner:HANGZHOU CHANGCHUAN TECH CO LTD

Low-level memory management of computed entities

A compiler comprises a low-level memory management (LLMM) module that locates computed entities within source code. Each computed entity is analyzed, and resource costs associated with each computed entity are calculated. A memory model is selected for each computed entity, based on memory use, computational complexity, and other factors. User-defined memory model assignment is supported. The compiler auto-generates instructions for allocating memory for, computing, and deallocating memory for each computed entity. The instructions generated for each computed entity will vary based on its assigned memory model. A variety of embodiments are disclosed for auto-generating these instructions during compile time at differing phases of compilation. In all of those, with the resultant executable code, memory is allocated and freed at runtime automatically and accurately without the intervention in source code by a programmer.
Owner:ZOHO OFFICE SUITE

Software package compiling method, system and device and medium

The invention relates to a software package compiling method, system and device and a medium, and the method comprises the steps: reading dependency information of each software package in a software development project, and constructing a dependency list of each software package; based on the dependency list, determining software packages meeting compiling conditions from the software packages to obtain a to-be-compiled software package list, and executing parallel compiling of the software packages in the to-be-compiled software package list; deleting and updating compiled software packages in the to-be-compiled software package list from a dependency list of uncompiled software packages; and on the basis of the deleted and updated dependency list, re-obtaining the to-be-compiled software package list, carrying out parallel compiling, and circularly deleting, updating and carrying out parallel compiling until all the software packages of the software development project are compiled. By means of the method and device, parallel compiling directly based on the software package dependency information is achieved, a large amount of compiling time can be saved, and the problem of how to improve the software package compiling efficiency in the application software development process is solved.
Owner:ZHEJIANG LNXALL IOT TECHNOLOGY CO LTD

Vector chain type calculation method and system based on C + + expression template

The invention discloses a vector chain type calculation method and system based on a C + + expression template. The system comprises a type information extraction module, a vector packaging and interface module, an operation implementation module, an expression node module and an operator reloading module. Firstly, a C + + template mechanism is applied, the whole expression is constructed into an expression type tree during compiling, intermediate temporary variables are completely eliminated, redundant memory allocation and data copying are effectively avoided, and the calculation efficiency during operation is remarkably improved. And secondly, by introducing an inline expansion and loop fusion technology, deeper and more efficient performance optimization can be realized in a compiling stage. Thirdly, an operator reloading mechanism is adopted, unified modeling is conducted on three types of operation, natural expression can be achieved, the expression ability of the system is remarkably improved, and the application range of the system is remarkably widened. Finally, an SIMD instruction set is introduced through an expression template and a type feature extraction mechanism, and single-instruction multi-data-level parallel processing is achieved.
Owner:DALIAN UNIV OF TECH

Compiling method, compiling device and computer equipment

PendingCN120723241ACode compilationPathPingAnnotation Type
The invention provides a compiling method, a compiling device and computer equipment. Comprising the steps of generating a byte code file and first type information according to a source code; determining second type information according to the byte code file; combining the first type of information and the second type of information in a compiling period to obtain a first composite structure type; at least two data structures are determined according to the first composite structure type, and when the first composite structure type is matched with one or more of the at least two data structures, the phi node is constructed by compiling the first composite structure and one or more of the at least two data structures. According to the compiling method, the compiling device and the computer equipment provided by the invention, the composite structure type is obtained in a mode of mutual complementation of the labeling type information and the sampling type information, and multiple paths are established for constructing the phi node, so that the probability of de-optimization is reduced.
Owner:HUAWEI TECH CO LTD

A service capability trace-back method based on compile-time bytecode analysis

The application discloses a service capability tracking method based on compiling period bytecode analysis, belongs to the technical field of API calling management, and is used for solving the problem of insufficient perception of API calling conditions of a client by a server. The method comprises the following steps: a bytecode acquisition module acquires bytecode files in compiling products in a compiling process of a user-side application program and delivers the bytecode files to a bytecode analysis module; the bytecode analysis module performs iterative analysis on the bytecode files, identifies classes, methods and method calling instructions, analyzes calling behaviors of the client on API capabilities of the server from the bytecode level, extracts API service capability calling information, and delivers the API service capability calling information to a service capability recording module; and the service capability recording module arranges the API service capability calling information, and generates tracking data files used for representing corresponding relationships between the client and API service capabilities. Effects: the server can acquire calling information of various API capabilities of the client, and thus effective perception and management of API using conditions can be realized.
Owner:CHONGQING LIFAN VEHICLE RESEARCH INSTITUTE CO LTD SHANGHAI BRANCH

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 abstraction based cross-architecture compute-intensive fusion operator generation method

PendingCN122240123ACode compilationComputer hardwarePure function
This application relates to a method for generating cross-architecture computationally intensive fusion operators based on hardware abstraction. It constrains and determines the operator subgraph according to preset legality rules, establishes a unified semantic abstraction, defines the fusion operator as a coordinate-driven pure function, and encapsulates auxiliary tensor memory access handles and layout geometry information through runtime context. A backend normalization layer is used to semantically reinterpret the accumulator layout and thread organization of different hardware vendors during compile time, and cross-platform vectorization primitives are invoked to mask the differences in backend instruction set architectures. Arithmetic logic is downgraded to a sequence of instructions executed within a scalar scope. The abstract vector view is first decomposed into independent scalar elements, arithmetic instructions are generated in the scalar dimension, the calculation results are then reorganized into a vector register, and finally, an address expression is constructed by deriving the effective step size to handle broadcast and indexing logic, generating fusion code that can access the underlying vendor's computationally intensive kernel, thus improving development efficiency.
Owner:SOUTH CHINA UNIV OF TECH

GPU-oriented compiler constant storage method, apparatus and device, and medium

The invention provides a GPU-oriented compiler constant storage method and device, equipment and a medium, and belongs to the field of data processing. According to the method, a control buffer with a dynamic size is divided in a scalar register file and is shared by a whole kernel, a Workload Manager is responsible for space distribution, recovery and initialization, and constants are stored in the control buffer divided by a scalar register during compiling, so that a GPU of an SIMT architecture does not need to have multiple copies in a scalar register file at the same moment, and the number of copies in the scalar register file at the same moment is reduced. And a constant does not need to be obtained from a memory, and the instruction code can accommodate a plurality of 64-bit immediate operands, so that the problem of insufficient resource utilization of a large number of scalar registers in the prior art is solved.
Owner:METAX INTEGRATED CIRCUITS (SHANGHAI) CO LTD

Securing an application programming interface (“API”) during the build of a software development kit (“SDK”)

Described is a technique for securing a private secret key during a software build process for a software development kit (SDK) that includes a code implementation for an application programming interface (API), where the private secret key is for use in signing the payload of an API request for the API. Consistent with examples, a keychain service stores a private secret key. In at least one source code file for a SDK, the source code includes a macro definition, which, upon executing by a compiler, obtains a value for the private secret key. In a programming shell environment, a shell script is executed. Execution of the shell script results in executing a nested script, which queries the keychain service for the private secret key. The shell script then passes the private secret key to a build script of an automated software build tool / system, which injects the private secret key into the source code file at compile time by execution of the macro, resulting in a software product capable of using the private secret key to sign or encrypt the payload of one or more API requests.
Owner:SNAP INC

Systems and methods for monitoring an instruction bus

Systems and methods for validating operation of a software sequence may include: monitoring signals on a bus of a processor, comparing the contents of the signals on the bus to pre-stored information from compile time. If the comparing generates a match, that may indicate that the software sequence is operating as intended. However, if the comparing generates a mismatch, that may indicate that the software sequence is not operating as intended and may, in fact, indicate a malicious use. Further actions can be taken in response to a mismatch, including resetting a processor, issuing an interrupt, and the like.
Owner:TEXAS INSTRUMENTS INC

Non-intrusive cloud native fault injection method based on compilation period conditional isolation

The invention discloses a non-intrusive cloud native fault injection method and device based on compilation period conditional isolation. The method comprises the following steps: declaring that a packet-level function variable points to real implementation in a service code, and indirectly calling through the variable; creating a fault simulation library to construct label isolation, executing a double-track construction process based on constructed labels, redirecting variables to fake implementation during test construction, and producing, constructing and eliminating a fault library; in fake implementation, atomic-scale refined fault semantics are defined based on configurable parameters; injection behaviors are controlled through a state machine model (including a fault injection state, a recovery decision point, a steady-state execution state and a process termination state); and integrating the audit logs and automatically checking the purity of the production binary system in the CI / CD. According to the method, zero residue of production codes and zero performance overhead are realized, accurate fault simulation and full-link auditing are supported, compliance and safety requirements of strong supervision scenes such as finance and government affairs are met, and an efficient scheme is provided for toughness verification of a cloud native system.
Owner:CHINA ELECTRONICS CLOUD DIGITAL INTELLIGENCE TECH CO LTD