FIELD: computing technology.
SUBSTANCE: disclosed is a method for parallel programming, wherein parallelising means are selected automatically when programs are executed in the computer system, containing a main system and a destination apparatus, connected by an interface and each containing a multi-core CPU, a memory, and cache instructions, performing the following operations: the source code of a program is formed in the main system; a report on the time of execution of looping sections of the program for the test run is formed and stored in the memory; the program code is analysed based on the test runs, the most time-consuming looping sections are identified and numbered; the source software code is modified, wherein additional markers of the start and end points of the time consuming looping sections and applied parallelising means in the programming language are placed in the code; for each loop, a table of parallelising means is compiled and stored, having outlined the boundaries of the iterative range and indicated the number of the parallelising means with the minimum execution time; the parallelised program with the connected parallelising means and the compliance table of the preferred parallelising means for each loop with a determined number of iterations is transmitted to the memory of the destination apparatus; in the process of operation, the destination apparatus is controlled, providing a selection of parallelising means, using the module for instant selection of parallelising means stored in the memory of the destination apparatus, determining for the current cycle, based on the loop number and the number of loop iterations in the table of preferred parallelising means, the number of the most suitable parallelising means and connecting the clone with the applied parallelising means.
EFFECT: accelerated execution of a program in multi-core computing systems.
8 cl, 9 dwg
Title | Year | Author | Number |
---|---|---|---|
METHOD FOR AUTOMATIC PARALLELING OF PROGRAMS | 2009 |
|
RU2411569C2 |
PROCESSING METHOD FOR THE MULTICORE PROCESSOR AND THE MULTICORE PROCESSOR | 2012 |
|
RU2630753C2 |
SYSTEM FOR CONTROLLING SOFTWARE TESTING | 2021 |
|
RU2774659C1 |
METHOD FOR PARALLELIZING PROGRAMS IN A LOGICAL PROGRAMMING ENVIRONMENT IN A COMPUTER SYSTEM | 2018 |
|
RU2691860C1 |
METHOD FOR AUTOMATIC CREATION OF A PARALLEL PROGRAM WITH TEMPORAL PARAMETERIZATION OF MULTIPROCESSOR COMPUTING SYSTEMS WITH THE SAME MEMORY ACCESS | 2022 |
|
RU2786347C1 |
PROGRAM MULTI-SEQUENCING METHOD IN THE COMPUTER SYSTEM | 2018 |
|
RU2685018C1 |
HIGH-ADAPTIVE AUTONOMOUS MOBILE ROBOT CONTROL DEVICE | 2019 |
|
RU2705049C1 |
FORMULA PROCESSOR WITH INSTRUCTION-LIKE LOGICAL CONTROL GATES | 1997 |
|
RU2143726C1 |
METHOD OF DETERMINING COORDINATES OF SATELLITE RADIO NAVIGATION SYSTEM (SRNS) MOBILE RECEIVER | 2010 |
|
RU2432584C2 |
METHOD FOR PRODUCING OBJECT CODE | 2000 |
|
RU2206119C2 |
Authors
Dates
2022-05-11—Published
2021-03-04—Filed