Test method for parallel source code generation, compilation and driven execution
A test method and source code technology, applied in the computer field, can solve problems such as the influence of parallel program design, complex operation logic, and test difficulties, and achieve the effect of improving efficiency and value, and strengthening the system
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific example
[0050] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention shall fall within the protection scope of the present invention.
example 1
[0051] Example 1: Test case parallel source code generation
[0052] Figure 4 The "(a) Main_Temp.c" part, "(b) Data_type.c" part and "(c) Data_type.h" part are parallel source code samples such as infrastructure samples and test scene samples respectively. The test scene mainly Used to define and initialize variables used in the running of each process. Figure 5 The "(a) Test Case 1 Configuration" section and the "(b) Test Case 2 Configuration" section in the section define parallel source code generation configurations for the two use cases, respectively. By modifying the _DATA_SHARE parameter of DATA, a shared variable or non-shared variable test can be realized. By modifying the DATA_STR and DATA_TYPE parameters of DATA, tests of basic types, structure types, union types, enumeration type variables, and tests extended to SIMD type variables can be realized.
[0053] For different parallel languages and runtime libraries, appropriate test scenarios should be establish...
example 2
[0054] Example 2: Use Case Parallel Job Submission
[0055] Figure 5The sections "(a) Test Case 1 Configuration" and "(b) Test Case 2 Configuration" also define parallel job submission configurations for both use cases. By modifying PREDATA, the data preparation can be done before running the parallel job for this use case. By modifying PRESPREAD, the distribution of data and the deployment of parallel object code can be done before the parallel job runs for this use case. Run parameters can be configured for the parallel job submitter by modifying RUNFLAGS. By modifying RUNARG, run parameters can be configured for use case parallel object code.
[0056] For different parallel languages and their parallel running environments, the general parallel job submission program will complete the data and parallel object codes required for distributing and deploying parallel jobs, and the PRESPREAD process can basically be ignored.
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