# US 2025/0156188 A1 · Apparatus and method for parallel processing

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

- Number: US 2025/0156188 A1
- Document ID: US20250156188A1
- Status: Published application
- Kind: A1
- Application number: 18/930,458
- Filed: 2024-10-29
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Research & Business Foundation Sungkyunkwan University
- Applicants: Research & Business Foundation SUNGKYUNKWAN UNIVERSITY
- Inventors: Gwangeun BYEON; SEUNG TAE LEE; SEONGWOOK KIM; Seokin HONG
- Web page: https://patentgrep.com/patent/US20250156188A1

## CPC

- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

There is provided a method of operating an apparatus for parallel processing including multiple cores, comprising: searching for a zero core among the multiple cores performing multiplication calculations to process a first instruction, wherein the zero core includes at least one operand of the multiplication calculations performed by each of the multiple core that is zero; performing multiplication calculations in each of the multiple cores, wherein at least one zero core performs the multiplication calculations for same operands as operands of a non-zero core, wherein the non-zero core includes operand that is not zero; and comparing a calculation result of the at least one zero core with a calculation result of the non-zero core to determine whether calculation error has occurred.

## Claims

### Claim 1

A method of operating an apparatus for parallel processing including multiple cores, comprising:
searching for a zero core among the multiple cores performing multiplication calculations to process a first instruction, wherein the zero core includes at least one operand of the multiplication calculations performed by each of the multiple core that is zero;
performing multiplication calculations in each of the multiple cores, wherein at least one zero core performs the multiplication calculations for same operands as operands of a non-zero core, wherein the non-zero core includes operand that is not zero; and
comparing a calculation result of the at least one zero core with a calculation result of the non-zero core to determine whether calculation error has occurred.

### Claim 2 (depends on 1)

The method of claim 1, wherein in determining whether the calculation error has occurred, when the calculation result of the at least one zero core does not match the calculation result of the non-zero core, it is determined that an error has occurred in the multiplication calculations performed by the non-zero core or the at least one zero core.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
re-performing, by at least three cores including the non-zero core and the zero core among the multiple cores, multiplication calculations for operands calculated by the non-zero core when it is determined that an error has occurred in the multiplication calculations performed by the non-zero core or the zero core; and
determining whether there is a fault in the non-zero core based on multiplication calculation results of the at least three cores.

### Claim 4 (depends on 3)

The method of claim 3, wherein in the determining whether there is a fault in the non-zero core or the zero core, when the multiplication calculation result of the non-zero core or the zero core among the at least three cores does not match calculation results of the other cores, it is determined that there is a fault in the non-zero core or the zero core.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
setting, when it is determined that there is a fault in the non-zero core or the zero core, in processing a second instruction, to be processed after the first instruction has been processed, another zero core to perform multiplication calculations to be performed in the non-zero core or zero core determined to have a fault.

### Claim 6 (depends on 3)

The method of claim 3, wherein in the re-performing of the multiplication calculations, when it is determined that there is an error in the multiplication calculations performed by the non-zero core or the zero core, processing of a second instruction, to be processed after the first instruction has been processed, is not started and the multiplication calculations are re-performed.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
setting, when it is determined that an error has occurred in the multiplication calculations performed by the non-zero core or the zero core, and calculation results of two or more cores match each other, the multiplication calculation results of the two or more cores as the multiplication calculation result of the non-zero core or the zero core.

### Claim 8 (depends on 1)

The method of claim 1, wherein the first instruction includes multiplication calculations for a sparse matrix.

### Claim 9 (depends on 1)

The method of claim 1, wherein in the searching for the zero core, the zero core is searched by performing logical multiplication calculations on operands to be processed by each of the multiple cores in the first instruction to identify whether at least one operand is zero.

### Claim 10

An apparatus for parallel processing, comprising:
multiple cores that perform parallel processing;
a zero-core search unit configured to search for a zero core among the multiple cores performing multiplication calculations to process a first instruction, wherein the zero core includes at least one operand of the multiplication calculations performed by each of the multiple core that is zero;
a calculation controller configured to perform multiplication calculations in each of the multiple cores and control at least one zero core to perform the multiplication calculations for same operands as operands of a non-zero core, wherein the non-zero core includes operand that is not zero; and
an error determination unit configured to determine whether calculation error has occurred by comparing a calculation result of the at least one zero core with a calculation result of the non-zero core.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the error determination unit is further configured to determine that there is an error in the multiplication calculations performed by the non-zero core or the zero core when the multiplication calculation result of the at least one zero core does not match the multiplication calculation result of the at least one non-zero core.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the calculation controller is further configured to control at least three cores, including the non-zero core and the zero core among the multiple cores, to re-perform multiplication calculations for operands calculated by the non-zero core when it is determined that there is an error in the multiplication calculations performed by the non-zero core or the zero core, and
wherein the error determination unit is further configured to determine whether there is a fault in the non-zero core or the zero core based on multiplication calculation results of the at least three cores.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the error determination unit is further configured to determine that there is a fault in the non-zero core or the zero core when the multiplication calculation result of the non-zero core or the zero core among the at least three cores does not match calculation results of the other cores.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the error determination unit is further configured to set, when it is determined that there is a fault in the non-zero core or the zero core, in processing a second instruction, to be processed after the first instruction has been processed, another zero core to perform multiplication calculations to be performed in the non-zero core or zero core determined to have a fault.

### Claim 15 (depends on 12)

The apparatus of claim 12, wherein the calculation controller is further configured to control to re-perform the multiplication calculations without starting processing of a second instruction, to be processed after the first instruction has been processed, when it is determined that there is an error in the multiplication calculations performed by the non-zero core or the zero core.

### Claim 16 (depends on 10)

The apparatus of claim 10, wherein the calculation controller, when it is determined that there is an error in the multiplication calculations performed by the non-zero core or the zero core, and calculation results of two or more zero cores match each other, is further configured to set the multiplication calculation results of the two or more zero cores as the multiplication calculation result of the non-zero core.

### Claim 17 (depends on 10)

The apparatus of claim 10, wherein the first instruction includes multiplication calculations for a sparse matrix.

### Claim 18 (depends on 10)

The apparatus of claim 10, wherein the zero-core search unit is further configured to search for the zero core by performing logical multiplication calculations for operands to be processed by each of the multiple cores in the first instruction to identify whether at least one operand is zero.

### Claim 19

A method of operating an apparatus for parallel processing including multiple cores, comprising:
receiving an instruction that includes N threads as input;
allocating the N threads to each of multiple cores;
searching for at least one zero thread among the N threads, where at least one of operands of multiplication calculations is zero;
reallocating at least one zero core that has been allocated at least one zero thread to process the same non-zero thread as a non-zero core matched to a non-zero thread that is not the zero thread; and
determining whether an error has occurred in the multiplication calculations of the non-zero core based on a multiplication calculation result of at least one zero core according to the reallocation and a multiplication calculation result of the non-zero core.
