Method for supporting large scale parallel distributed computation through functional programming model
A parallel computing and programming model technology, applied in the direction of program control devices, etc., can solve problems such as difficult development personnel popularization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0022] The present invention first converts the implementation code based on the process into a functional formula, because the key problem hindering the parallel execution of the function is the global variable. Due to the existence of global variables, the function has a state, which cannot satisfy the condition of one-to-one correspondence between input and output. Therefore, the marginal effect of the function needs to be eliminated first. Such as figure 1 As shown in the flow, first load the py code and compile it into a code object. The structure of the code object is as follows figure 2 As shown, they are organized into a code tree. Traverse this code tree, and pass in global variables as parameters to all functions that access global variables. All functions that write to global variables return the global variable as one of the return results. After such a traversal, a new code tree will be generated, and all functions in this code tree have no marginal effects....
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com