# US 2021/0081210 A1 · Information processing method and computer-readable recording medium having stored therein optimization program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0081210 A1
- Document ID: US20210081210A1
- Status: Published application
- Kind: A1
- Application number: 17/009,833
- Filed: 2020-09-02
- Published: 2021-03-18
- Earliest claimed: 2019-09-17
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Takahiro Notsu
- Web page: https://patentgrep.com/patent/US20210081210A1

## CPC

- G06F 9/3887: {controlled by a single instruction for multiple data lanes [SIMD]}
- G06F 8/4441: {Reducing the execution time required by the program code}
- G06F 8/445: {Exploiting fine grain parallelism, i.e. parallelism at instruction level (run-time instruction scheduling G06F9/3836)}
- G06F 8/45: {Exploiting coarse grain parallelism in compilation, i.e. parallelism between groups of instructions}
- G06F 8/456: {Parallelism detection}
- G06F 9/3861: {Recovery, e.g. branch miss-prediction, exception handling (error detection or correction G06F11/00)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An information processing method executed by a computer, the method includes executing a target program to acquire number of executions for each of a plurality of program codes; selecting a combination of program codes related to a plurality of assignment statements from among program codes related to assignment statements having a higher number of executions based on the acquired number of executions; when the target program is changed, executing the changed target program to calculate an execution accuracy and an operation time so that parallel processing using an SIMD operation function is executed for each of the program codes related to the plurality of assignment statements included in the selected combination; and searching for the combination so that the calculated execution accuracy and operation time satisfy a predetermined condition.

## Claims

### Claim 1

An information processing method executed by a computer, the method comprising
executing a target program to acquire number of executions for ach of a plurality of program codes;
selecting a combination of program codes related to a plurality of assignment statements from among program codes related to assignment statements having a higher number of executions based on the acquired number of executions;
when the target program is changed, executing the changed target program to calculate an execution accuracy and an operation time so that parallel processing using an SIMD operation function is executed for each of the program codes related to the plurality of assignment statements included in the selected combination; and
searching for the combination so that the calculated execution accuracy and operation time satisfy a predetermined condition.

### Claim 2 (depends on 1)

The information processing method according to claim 1, the method further comprising searching the combination for by performing an evolutionary computation on the program codes related to the assignment statements having the higher number of executions.

### Claim 3 (depends on 2)

The information processing method according to claim 2, the method further comprising searching the combination newly by crossing over the first combination and the second combination, when a first combination of the program codes related to the plurality of assignment statements is selected from among the program codes related to the assignment statements having the higher number of executions and a second combination of the program codes related to the plurality of assignment statements is selected from among the program codes related to the assignment statements having the higher number of executions.

### Claim 4 (depends on 2)

The information processing method according to claim 2, the method further comprising selecting the combination newly by changing a part of the combination from selection to non-selection, or changing a part of the combination from non-selection to selection, when the combination of the program codes related to the plurality of assignment statements is selected from among the program codes related to the assignment statements having the higher number of executions.

### Claim 5 (depends on 1)

The information processing method according to claim 1,
wherein a program code related to an assignment statement with a low execution accuracy and a long operation time among the program codes related to the assignment statements having the higher number of executions is excluded from the program codes related to the assignment statements having the higher number of executions.

### Claim 6

A non-transitory computer-readable storage medium storing a program that causes a computer to execute a process, the process comprising:
executing a target program to acquire number of executions for each of a plurality of program codes;
selecting a combination of program codes related to a plurality of assignment statements from among program codes related to assignment statements having a higher number of executions based on the acquired number of executions;
when the target program is changed, executing the changed target program to calculate an execution accuracy and an operation time so that parallel processing using an SIMD operation function is executed for each of the program codes related to the plurality assignment statements included in the selected combination; and
searching for the combination so that the calculated execution accuracy and operation time satisfy a predetermined condition.

### Claim 7 (depends on 6)

the non-transitory computer-readable storage medium according to claim 6, the process further comprising searching the combination for by performing an evolutionary computation on the program codes related to the assignment statements having the higher number of executions.

### Claim 8 (depends on 7)

the non-transitory computer-readable storage medium according to claim 7, the process further comprising searching the combination newly by crossing over the first combination and the second combination, when a first combination of the program codes related to the plurality of assignment statements is selected from among the program codes related to the assignment statements having the higher number of executions and a second combination of the program codes related to the plurality of assignment statements is selected from among the program codes related to the assignment statements having the higher number of executions.

### Claim 9 (depends on 7)

the non-transitory computer-readable storage medium according to claim 7, the process further comprising selecting the combination newly by changing a part of the combination from selection to non-selection, or changing a part of the combination from non-selection to selection, when the combination of the program codes related to the plurality of assignment statements is selected from among the program codes related to the assignment statements having the higher number of executions.

### Claim 10 (depends on 9)

the non-transitory computer-readable storage medium according to claim 9, wherein a program code related to an assignment statement with a low execution accuracy and a long operation time among the program codes related to the assignment statements having the higher number of executions is excluded from the program codes related to the assignment statements having the higher number of executions.
