# US 2021/0241417 A1 · Compute optimization mechanism for deep neural networks

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

- Number: US 2021/0241417 A1
- Document ID: US20210241417A1
- Status: Published application
- Kind: A1
- Application number: 17/145,885
- Filed: 2021-01-11
- Published: 2021-08-05
- Earliest claimed: 2017-04-24
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Prasoonkumar Surti; Narayan Srinivasa; Feng Chen; Joydeep Ray; Ben J. Ashbaugh; Nicolas C. Galoppo Von Borries; Eriko Nurvitadhi; Balaji Vembu; Tsung-Han Lin; Kamal Sinha; Rajkishore Barik; Sara S. Baghsorkhi; Justin E. Gottschlich; Altug Koker; Nadathur Rajagopalan Satish; Farshad Akhbari; Dukhwan Kim; Wenyin Fu; Travis T. Schluessler; Josh B. Mastronarde; Linda L. Hurd; John H. Feit; Jeffery S. Boles; Adam T. Lake; Karthik Vaidyanathan; Devan Burke; Subramaniam Maiyuran; Abhishek R. Appu
- Web page: https://patentgrep.com/patent/US20210241417A1

## CPC

- G06T 1/20: Processor architectures; Processor configuration, e.g. pipelining
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 9/5094: {where the allocation takes into account power or heat criteria (power management in computers in general G06F1/3203; thermal management in computers in general G06F1/206)}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/063: using electronic means
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 3/09: Supervised learning
- G06N 3/098: Distributed learning, e.g. federated learning
- G06F 8/41: Compilation
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

An apparatus to facilitate compute optimization is disclosed. The apparatus includes a plurality of processing units each comprising a plurality of execution units (EUs), wherein the plurality of EUs comprise a first EU type and a second EU type.

## Claims

### Claim 1

A graphics processing unit comprising one or more multiprocessors, at least one of the one or more multiprocessors including:
a register file to store operands for a plurality of different types of operands; and
a plurality of processing cores, including:
a first set of processing cores of a first type to perform multi-dimensional matrix math operations on a first set of operands in a first set of registers of the register file; and
a second set of processing cores of a second type, the second set of processing cores being different from the first set of processing cores, the second set of processing cores to perform general purpose graphics processing unit (GPGPU) operations on a second set of operands in a second set of registers of the register file.

### Claim 2 (depends on 1)

The graphics processing unit as in claim 1, wherein the first set of processing cores of the first type includes a first set of floating point units (FPUs) to execute instructions to perform matrix operations on the first set of operands in the first set of registers of the register file.

### Claim 3 (depends on 2)

The graphics processing unit as in claim 2, wherein matrix operations performed on the first set of operands include 64-bit floating (FP64) operations.

### Claim 4 (depends on 2)

The graphics processing unit as in claim 2, wherein the second set of processing cores comprises:
a set of integer units to execute instructions to perform integer operations; and
a second set of FPUs to execute instructions to perform floating point operations, the set of FPUs comprising a first subset of FPUs to perform 32-bit floating point (FP32) operations and a second subset of FPUs to FP64 operations.

### Claim 5 (depends on 1)

The graphics processing unit as in claim 1, wherein the first set of processing cores of the first type is configured to perform an in-place matrix to vector transformation for a first type of operand stored in the register file.

### Claim 6 (depends on 5)

The graphics processing unit as in claim 5, wherein the in-place matrix to vector transformation includes a set of operations having a source and destination, the source and destination within the register file.

### Claim 7 (depends on 6)

The graphics processing unit as in claim 6, wherein the source includes a register address start limit, stride, number of elements, and element size.

### Claim 8 (depends on 1)

The graphics processing unit as in claim 1, wherein the at least one of the one or more multiprocessors further comprises an instruction cache to store a first instruction associated with the first set of operands and a second instruction associated with the second set of operands.

### Claim 9 (depends on 1)

The graphics processing unit as in claim 1, wherein the first set of processing cores of the first type are associated with a first memory channel and the second set of processing cores of the second type are associated with a second memory channel.

### Claim 10

A method comprising:
receiving a first set of operands from a first set of registers of a register file at a first set of processing cores of a first type at a graphics processing unit;
receiving a second set of operands from a second set of registers of a register file at a second set of processing cores of a second type, the second set of processing cores being different from the first set of processing cores, at the graphics processing unit;
performing multi-dimensional matrix math operations on the first set of operands at the first set of processing cores; and
performing general-purpose graphics processing unit (GPGPU) operations on the second set of operands at the second set of processing cores.

### Claim 11 (depends on 10)

The method as in claim 10, wherein performing the GPGPU operations at the second set of processing cores comprises:
executing instructions at a set of floating point units (FPUs), to perform floating point operations, wherein executing instructions at the set of floating point units (FPUs) comprises performing 32-bit floating point (FP32) operations at first subset of FPU; and
performing 64-bit floating point (FP64) operations at a second subset of FPUs.

### Claim 12 (depends on 11)

The method as in claim 11, wherein performing the GPGPU operations at the second set of processing cores further comprises executing instructions at a set of integer units to perform integer operations.

### Claim 13 (depends on 10)

The method as in claim 10, wherein the first set of processing cores is configured to perform an in-place matrix to vector transformation for a first type of operand stored in the register file.

### Claim 14 (depends on 13)

The method as in claim 13, wherein the in-place matrix to vector transformation includes a set of operations having a source and destination, the source and destination within the register file and the source includes a register address start limit, stride, number of elements, and element size.

### Claim 15

A data processing system comprising:
a memory device; and
a graphics processing unit comprising one or more multiprocessors, at least one of the one or more multiprocessors including a register file to store operands for a plurality of different types of operands and a plurality of processing cores, including:
a first set of processing cores of a first type to perform multi-dimensional matrix math operations on a first set of operands in a first set of registers of the register file; and
a second set of processing cores of a second type, the second set of processing cores being different from the first set of processing cores, the second set of processing cores to perform general purpose graphics processing unit (GPGPU) operations on a second set of operands in a second set of registers of the register file.

### Claim 16 (depends on 15)

The data processing system as in claim 15, wherein the first set of processing cores of the first type includes a first set of floating point units (FPUs) to execute instructions to perform matrix operations on the first set of operands in the first set of registers of the register file.

### Claim 17 (depends on 16)

The data processing system as in claim 16, wherein matrix operations performed on the first set of operands include 64-bit floating (FP64) operations.

### Claim 18 (depends on 16)

The data processing system as in claim 16, wherein the second set of processing cores comprises:
a set of integer units to execute instructions to perform integer operations; and
a second set of FPUs to execute instructions to perform floating point operations, the set of FPUs comprising a first subset of FPUs to perform 32-bit floating point (FP32) operations and a second subset of FPUs to FP64 operations.

### Claim 19 (depends on 15)

The data processing system as in claim 15, wherein the first set of processing cores of the first type is configured to perform an in-place matrix to vector transformation for a first type of operand stored in the register file, the in-place matrix to vector transformation includes a set of operations having a source and destination, the source and destination within the register file, and the source includes a register address start limit, stride, number of elements, and element size.

### Claim 20 (depends on 15)

The data processing system in claim 15, wherein the at least one of the one or more multiprocessors further comprises an instruction cache to store a first instruction associated with the first set of operands and a second instruction associated with the second set of operands, the first set of processing cores of the first type are associated with a first memory channel, and the second set of processing cores of the second type are associated with a second memory channel.
