# US 2024/0257432 A1 · Method of generating a mipmap

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

- Number: US 2024/0257432 A1
- Document ID: US20240257432A1
- Status: Published application
- Kind: A1
- Application number: 18/103,937
- Filed: 2023-01-31
- Published: 2024-08-01
- Earliest claimed: 2023-01-31
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Derek Andrew LAMBERTI; Kévin PETIT; Thomas James COOKSEY
- Web page: https://patentgrep.com/patent/US20240257432A1

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06T 15/04: Texture mapping
- G06T 2210/36: Level of detail
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A method is provided for generating a mipmap. A processor comprises a neural processing engine comprising a plurality of hardware units suitable for performing integer operations on machine learning models. The method comprises receiving initial image data and one or more commands to perform an operation for generating a further layer of image data from the initial image data that has a different resolution to the initial image data. The method processes the commands to generate the further layer using the neural processing engine of the processor.

## Claims

### Claim 1

A method of generating a mipmap comprising a layer of initial image data formed of integer image data values and at least one further layer of image data having a different resolution from the initial image data, the method performed by a processor comprising a neural processing engine comprising a plurality of hardware units suitable for performing integer operations on machine learning models, an execution core configured to perform graphics processing, and an interface unit configured to control the neural processing unit and the execution core to perform one or more commands, the method comprising:
receiving the initial image data;
receiving one or more commands at the interface unit to perform one or more operations for generating a further layer of image data from the initial image data, the further layer of image data having a different resolution to the initial image data; and
the interface unit controlling the neural processing unit to process the one or more commands and the initial image data to generate the further layer of image data.

### Claim 2 (depends on 1)

A method according to claim 1, wherein the plurality of hardware units are multiply-accumulate units.

### Claim 3 (depends on 1)

A method according to claim 1, wherein the processor is a graphics processing unit and the neural processing engine and the execution core are located in a shader core of the graphics processing unit.

### Claim 4 (depends on 3)

A method according to claim 3, wherein the processor comprises a plurality of shader cores and each shader core comprises a neural processing engine and an execution core.

### Claim 5 (depends on 1)

A method according to claim 1, further comprising:
compiling, by a second processor that is external to the processor, one or more instructions for generating a mipmap to generate the one or more commands, wherein compiling the one or more instructions includes generating the one or more commands in a graph that defines a plurality of operations to be performed by the processor.

### Claim 6 (depends on 5)

A method according to claim 5, wherein the one or more instructions form part of a graphics model.

### Claim 7 (depends on 5)

A method according to claim 5, wherein a reference to a storage address of image data forms an edge of the graph that defines a plurality of operations to be performed by the processor.

### Claim 8 (depends on 3)

A method according to claim 3, wherein the one or more commands include an indication that one or more commands should be performed by the neural processing engine.

### Claim 9 (depends on 1)

A method according to claim 1, wherein the one or more commands include an instruction to apply a filter to the initial image data to generate the further layer of image data.

### Claim 10 (depends on 4)

A method according to claim 4, wherein the one or more commands comprise instructions to perform a plurality of operations on the initial image data, wherein the processor is configured to allocate two or more operations of the plurality of operations to a neural processing engine in a single shader core of the plurality of shader cores of the graphics processing unit.

### Claim 11 (depends on 10)

A method according to claim 10, wherein the processor processes image data related to the mipmap in segments and the neural processing engine in the single shader core sequentially applies the two or more operations to a segment of image data related to the mipmap.

### Claim 12 (depends on 1)

A method according to claim 1, wherein the initial image data is received in a tensor format.

### Claim 13

A processor comprising:
a neural processing engine comprising a plurality of hardware units suitable for performing integer operations on machine learning models;
an execution core configured to perform graphics processing; and
an interface unit configured to:
receive one or more commands to perform one or more operations; and
control each of the neural processing engine and the execution core to perform the received one or more commands,
wherein the interface unit is configured to control the processor to, in a case that the one or more commands is for generating a further layer of image data from initial image data which further layer of image data has a different resolution to the initial image data, process the one or more commands to generate the further layer of image data using the initial image data and the neural processing engine of the processor.

### Claim 14 (depends on 13)

A processor according to claim 13 wherein the hardware units are multiply-accumulate units.

### Claim 15 (depends on 14)

A processor according to claim 14 comprising a plurality of neural processing engines, wherein:
the one or more commands comprise one or more tasks, and
the interface unit is configured to allocate the tasks to respective neural processing engines of the plurality of neural processing engines.

### Claim 16

A system comprising a first processor and a second processor:
the first processor comprising:
a neural processing engine comprising a plurality of hardware units suitable for performing integer operations on machine learning models;
an execution core configured to perform graphics processing; and
an interface unit configured to:
receive one or more commands to perform one or more operations; and
control each of the neural processing engine and the execution core to perform the received one or more commands,
wherein the interface unit is configured to control the processor to, in a case that the one or more commands is for generating a further layer of image data from initial image data which further layer of image data has a different resolution to the initial image data, process the one or more commands to generate the further layer of image data using the initial image data and the neural processing engine of the processor,
wherein the second processor is connected to a non-transitory storage medium storing instructions that, when executed by the second processor, cause the second processor to:
compile one or more instructions for generating a mipmap to generate the one or more commands, wherein compiling the one or more instructions includes generating the one or more commands in a graph that defines a plurality of operations to be performed by the first processor; and
send the one or more commands to the first processor.
