# US 2025/0165368 A1 · Processing instructions at a processing unit configured to perform 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/0165368 A1
- Document ID: US20250165368A1
- Status: Published application
- Kind: A1
- Application number: 18/907,541
- Filed: 2024-10-06
- Published: 2025-05-22
- Earliest claimed: 2023-10-06
- Assignees: Imagination Technologies Limited
- Applicants: Imagination Technologies Limited
- Inventors: Daniel Wilkinson; Ian King
- Web page: https://patentgrep.com/patent/US20250165368A1

## CPC

- G06F 11/2236: {to test CPU or processors}
- G06F 11/2242: {in multi-processor systems, e.g. one processor becoming the primary tester (G06F11/2736 takes precedence)}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06F 11/1048: {using arrangements adapted for a specific error detection or correction feature}
- G06F 11/1608: {Error detection by comparing the output signals of redundant hardware (G06F11/1629, G06F11/1666 take precedence; error detection or correction in information storage based on relative movement between record carrier and transducer G11B20/18; checking static stores for correct operation G11C29/00; for logic circuits H03K19/003, H03K19/007; for pulse counters or frequency dividers H03K21/40)}
- G06F 11/263: Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers}
- G06F 2201/86: Event-based monitoring
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of processing instructions at a processing unit having a parallel processing engine. During a mission cycle, a first set of mission operand values is processed in accordance with a mission instruction at a first processing instance to generate a first mission output. In parallel, a second set of mission operand values is processed in accordance with the mission instruction at a second processing instance to generate a second mission output. During a test cycle, a first set of test operand values is processed in accordance with a test instruction at the first processing instance to generate a first test output, and in parallel, a second set of test operand values is processed in accordance with the test instruction at the second processing instance to generate a second test output, where the first set of test operand values is the same as the second set of test operand values. The first test output and the second test output are compared and a fault signal is raised if the compared test outputs do not match.

## Claims

### Claim 1

A method of processing instructions at a processing unit configured to perform parallel processing, the processing unit comprising a parallel processing engine, the parallel processing engine comprising a first processing instance and a second processing instance, the method comprising:
during a mission cycle:
processing a first set of one or more mission operand values in accordance with a mission instruction at the first processing instance so as to generate a first mission output; and
in parallel, processing a second set of one or more mission operand values in accordance with the mission instruction at the second processing instance so as to generate a second mission output;
wherein the first set of one or more mission operand values is different to the second set of one or more mission operand values; and
during a test cycle:
processing a first set of one or more test operand values in accordance with a test instruction at the first processing instance so as to generate a first test output; and
in parallel, processing a second set of one or more test operand values in accordance with the test instruction at the second processing instance so as to generate a second test output;
wherein the first set of one or more test operand values is the same as the second set of one or more test operand values;
comparing the first test output and the second test output; and
raising a fault signal if the compared test outputs do not match.

### Claim 2 (depends on 1)

The method of claim 1, wherein the test cycle occurs during an idle cycle of the parallel processing engine, wherein an idle cycle is a cycle of the parallel processing engine during which the parallel processing engine is not scheduled to process any mission instructions.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
identifying an idle cycle of the parallel processing engine; and
inserting the test instruction for processing, during the idle cycle, by the first processing instance and the second processing instance.

### Claim 4 (depends on 1)

The method of claim 1, further comprising processing instructions at the parallel processing engine during a plurality of cycles of the parallel processing engine, the plurality of cycles comprising one or more mission cycles and one or more test cycles, wherein x % of the plurality of cycles are mission cycles and (100−x)% of the plurality of cycles are test cycles.

### Claim 5 (depends on 4)

The method of claim 4, wherein x>50.

### Claim 6 (depends on 1)

The method of claim 1, wherein the mission instruction defines a portion of work to perform for the first processing instance and the second processing instance.

### Claim 7 (depends on 6)

The method of claim 6, wherein the work comprises one or more of image processing, video processing, graphics processing and/or general processing.

### Claim 8 (depends on 6)

The method of claim 6, wherein the work is safety-critical work.

### Claim 9 (depends on 1)

The method of claim 1, wherein the first processing instance is identical to the second processing instance.

### Claim 10 (depends on 1)

The method of claim 1, wherein the first test output and the second test output are not written to a memory external of the parallel processing engine.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
scheduling, using a scheduler, the mission instruction for processing by the first processing instance and the second processing instance; and
inserting, using test instruction insertion logic, the test instruction for processing by the first processing instance and the second processing instance;
wherein the test instruction insertion logic acts independently of the scheduler.

### Claim 12 (depends on 1)

The method of claim 1, further comprising pseudo-randomly generating the one or more test operand values using test instruction insertion logic.

### Claim 13 (depends on 11)

The method of claim 11, wherein the test instruction insertion logic is implemented in fixed function hardware.

### Claim 14 (depends on 1)

The method of claim 1, wherein the test instruction comprises one or more control fields that define the operation(s) to be performed by the processing instances on their respective set of operand values, the one or more control fields being pre-generated.

### Claim 15 (depends on 1)

The method of claim 1, further comprising comparing the first test output and the second test output using check logic implemented in fixed function hardware.

### Claim 16 (depends on 1)

The method of claim 1, wherein the processing unit is a graphics processing unit (GPU) or a central processing unit (CPU).

### Claim 17 (depends on 1)

The method of claim 1, wherein the parallel processing engine is an integer pipeline, a floating-point pipeline or a complex pipeline.

### Claim 18 (depends on 1)

The method of claim 1, the parallel processing engine being configured to perform Single Instruction Multiple Data (SIMD) processing.

### Claim 19

A processing unit configured to perform parallel processing, the processing unit comprising a parallel processing engine, the parallel processing engine comprising a first processing instance and a second processing instance, the parallel processing engine being configured to:
during a mission cycle:
process a first set of one or more mission operand values in accordance with a mission instruction at the first processing instance so as to generate a first mission output; and
in parallel, process a second set of one or more mission operand values in accordance with the mission instruction at the second processing instance so as to generate a second mission output;
wherein the first set of one or more mission operand values is different to the second set of one or more mission operand values; and
during a test cycle:
process a first set of one or more test operand values in accordance with a test instruction at the first processing instance so as to generate a first test output; and
in parallel, process a second set of one or more test operand values in accordance with the test instruction at the second processing instance so as to generate a second test output;
wherein the first set of one or more test operand values is the same as the second set of one or more test operand values;
compare the first test output and the second test output; and
raise a fault signal if the compared test outputs do not match.

### Claim 20

An integrated circuit manufacturing system comprising:
a layout processing system configured to process a computer readable dataset description so as to generate a circuit layout description of an integrated circuit embodying a processing unit; and
an integrated circuit generation system configured to manufacture the processing unit according to the circuit layout description;
wherein the processing unit is configured to perform parallel processing, the processing unit comprising a parallel processing engine, the parallel processing engine comprising a first processing instance and a second processing instance, the parallel processing engine being configured to:
during a mission cycle:
process a first set of one or more mission operand values in accordance with a mission instruction at the first processing instance so as to generate a first mission output; and
in parallel, process a second set of one or more mission operand values in accordance with the mission instruction at the second processing instance so as to generate a second mission output;
wherein the first set of one or more mission operand values is different to the second set of one or more mission operand values; and
during a test cycle:
process a first set of one or more test operand values in accordance with a test instruction at the first processing instance so as to generate a first test output; and
in parallel, process a second set of one or more test operand values in accordance with the test instruction at the second processing instance so as to generate a second test output;
wherein the first set of one or more test operand values is the same as the second set of one or more test operand values;
compare the first test output and the second test output; and
raise a fault signal if the compared test outputs do not match.
