Accelerated running method based on Sunway many-core processor
A technology of many-core processor and accelerated operation, applied in the field of accelerated operation based on Shenwei many-core processor, can solve the problem of insufficient utilization of core group computing resources, limited data required for master-slave computing, and utilization rate of core group computing resources. Low-level problems, to achieve the effect of saving the waiting time of the master core, reducing the data transfer time of the master and slave cores, and reducing the number of DMA transfers
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0054] An accelerated operation method based on the Shenwei many-core processor, which runs on a computer and executes the program. The program includes several program segments. The technical solution of the present invention takes three program segments as an example, and can be summarized and specifically processed based on the Shenwei many-core There are many cases of parallel programming of the processor. Set any continuous three-segment program segment as program segment A, program segment B, and program segment C, where program segment A and program segment B can be optimized in parallel (can be executed on the slave core), and program segment B cannot be parallelized Optimization (can only be performed on the main core), including the following steps:
[0055] Ⅰ. Determine the program context dependencies among program segment A, program segment B, and program segment C. If program segment A, program segment B, and program segment C all have program context dependencie...
Embodiment 2
[0064] According to the accelerated operation method based on the Shenwei many-core processor described in Embodiment 1, the difference is that: before executing program segment A, program segment B, and program segment C, perform the following operations:
[0065] a. Judging whether two or more program subsections are included in program segment A, program segment B or program segment C, if not, then directly execute the program segment, otherwise, enter step b;
[0066] b. Judging whether two or more program subsections include loop upper and lower bounds, constants, common input data that will not change during the program cycle, if not, execute two or more program subsections in sequence; otherwise, enter step c;
[0067] c. The upper and lower bounds of the loop, constants, common input data that will not change during the program cycle will be extracted, and the extracted input data will be transferred from the main core at one time to enter Each slave core executes two...
Embodiment 3
[0070] According to a kind of accelerated operation method based on Shenwei many-core processor described in embodiment 1, its difference is:
[0071] Execute program segment A, including the following steps:
[0072] (5) judge whether program segment A comprises several program subsections, if program segment A comprises several program subsections, enter step (6); otherwise, enter step (7);
[0073] (6) Set any two consecutive subsections of the program as subsection A1 and subsection A2, perform the following steps for all the subsections until the subsection A is executed: determine the subsection A1, the subsection A2 The program context dependency between A2, if there is a program context dependency between the program subsection A1 and the program subsection A2, then the program subsection A1 and the program subsection A2 are executed sequentially; otherwise, according to the program subsection A1, the program The data volume of the subsection A2 is allocated to the co...
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