# US 2026/0064472 A1 · Processing unit for processing neural network, electronic device including the same, and host processor

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

- Number: US 2026/0064472 A1
- Document ID: US20260064472A1
- Status: Published application
- Kind: A1
- Application number: 19/276,852
- Filed: 2025-07-22
- Published: 2026-03-05
- Earliest claimed: 2024-08-29
- Assignees: Samsung Electronics Co., Ltd.
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jeongjoon YOO; Nahyun KIM; Dongjin YOOK; Buyoung YUN; Jaehee JUN; Hoonhee CHO; Isaac HONG; Kyongjoo OH; Jonghyuk EUN
- Web page: https://patentgrep.com/patent/US20260064472A1

## CPC

- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F 9/545: {where tasks reside in different layers, e.g. user- and kernel-space}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 2209/509: Offload
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing unit for processing a neural network includes a coordinator configured to receive a kernel command from a host processor, determine a type of kernel corresponding to the kernel command, and generate an additional command different according to the type of kernel, the kernel command being used to execute kernels required to process the neural network, and a command processor configured to schedule such that the data produced by the producing kernel is referred to when the consuming kernel is executed based on the kernel command and the additional command.

## Claims

### Claim 1

A processing unit for processing a neural network, the processing unit comprising:
a coordinator configured to
receive a kernel command from a host processor. the kernel command enabling an execution of kernels for a neural network process,
determine a type of at least one of the kernels corresponding to the kernel command, the types of kernel including a producing kernel configured to produce data and a consuming kernel configured to refer to the data, and
generate a different additional command based on the determined type of kernel; and
a command processor configured to, based on the kernel command and the additional command, schedule the neural network process such that the data produced by the producing kernel is referred to when the consuming kernel is executed.

### Claim 2 (depends on 1)

The processing unit of claim 1, wherein the coordinator is further configured to
generate a first additional command based on receiving a producing kernel command corresponding to the producing kernel, the first additional command requesting to write an identifier corresponding to the producing kernel command to an internal register of the processing unit, and
generate a second additional command based on receiving a consuming kernel command corresponding to the consuming kernel, the second additional command requesting to wait until an identifier corresponding to the consuming kernel command is written to the internal register of the processing unit.

### Claim 3 (depends on 2)

The processing unit of claim 2, wherein, the coordinator is further configured to add the first additional command behind the producing kernel command to follow the producing kernel command when the coordinator receives the producing kernel command.

### Claim 4 (depends on 2)

The processing unit of claim 2, wherein the coordinator is further configured to add the second additional command before the consuming kernel command to precede the consuming kernel command when the coordinator receives the consuming kernel command.

### Claim 5 (depends on 2)

The processing unit of claim 2, wherein
the data is stored in a memory outside the processing unit when the producing kernel is executed based on the producing kernel command, and
the identifier includes a virtual address indicating a position in which the data has been stored in the memory.

### Claim 6 (depends on 2)

The processing unit of claim 2, wherein the coordinator is configured to include the internal register.

### Claim 7 (depends on 2)

The processing unit of claim 2, wherein the identifier corresponding to the producing kernel command is identical to the identifier corresponding to the consuming kernel command.

### Claim 8 (depends on 1)

The processing unit of claim 1, wherein
the processing unit is configured to receive one kernel command among a consuming kernel command corresponding to the consuming kernel and a producing kernel command corresponding to the producing kernel, another processing unit is configured to receive the other kernel command among the consuming kernel command and the producing kernel command, and
an identifier corresponding to the one kernel command received by the processing unit is different from an identifier corresponding to the other kernel command received by the other processing unit.

### Claim 9 (depends on 1)

The processing unit of claim 1, wherein the coordinator is included in the command processor.

### Claim 10 (depends on 1)

The processing unit of claim 1, wherein the command processor is configured to execute the coordinator.

### Claim 11

An electronic device comprising:
a first processing unit configured to receive a producing kernel command corresponding to a producing kernel and execute the producing kernel based on the producing kernel command, the producing kernel configured to produce data; and
a second processing unit configured to receive a consuming kernel command corresponding to a consuming kernel and execute the consuming kernel based on the consuming kernel command, the consuming kernel referring to the data,
wherein the first processing unit is further configured to generate a first additional command that requests that an identifier, corresponding to the producing kernel command, be written to a first register of the first processing unit, and
the second processing unit is further configured to generate a second additional command that requests a wait until an identifier, corresponding to the consuming kernel command, is written to a second register of the second processing unit.

### Claim 12 (depends on 11)

The electronic device of claim 11, wherein the first processing unit is further configured to,
add the first additional command behind the producing kernel command to follow the producing kernel command when receiving the producing kernel command.

### Claim 13 (depends on 11)

The electronic device of claim 11, wherein
the second processing unit is further configured to add the second additional command before the consuming kernel command to precede the consuming kernel command when receiving the consuming kernel command.

### Claim 14 (depends on 11)

The electronic device of claim 11, wherein the identifier corresponding to the producing kernel command is identical to the identifier corresponding to the consuming kernel command.

### Claim 15 (depends on 11)

The electronic device of claim 11, wherein the identifier corresponding to the producing kernel command is different from the identifier corresponding to the consuming kernel command.

### Claim 16 (depends on 15)

The electronic device of claim 15, further comprising:
a memory storing the data produced by executing the producing kernel,
wherein the identifier corresponding to the producing kernel command includes a first virtual address enabling the first processing unit to access the memory,
the identifier corresponding to the consuming kernel command includes a second virtual address used by the second processing unit to access the memory, and
the first virtual address and the second virtual address correspond to a same physical address.

### Claim 17 (depends on 11)

The electronic device of claim 11, further comprising:
an identifier synchronizer configured to write the identifier corresponding to the consuming kernel command to the second register of the second processing unit when the identifier corresponding to the producing kernel command is written to the first register of the first processing unit.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein
the identifier corresponding to the producing kernel command includes a first virtual address enabling the first processing unit to access a memory,
the identifier corresponding to the consuming kernel command includes a second virtual address enabling the second processing unit to access the memory, and
the identifier synchronizer is further configured to read the first virtual address from the first register, convert the first virtual address into the second virtual address, and write the second virtual address to the second register.

### Claim 19 (depends on 18)

The electronic device of claim 18, further comprising:
an address mapping device configured to receive the first virtual address from the identifier synchronizer, check whether the second virtual address corresponding to the first virtual address is in a mapping table, and transmit the second virtual address to the identifier synchronizer.

### Claim 20

A host processor comprising:
a user mode driver configured to drive a host program and to generate a kernel command configured to enable executing kernels for neural network processing; and
a kernel mode driver configured to manage resources of a processing unit configured to execute the kernels,
wherein one of the user mode driver and the kernel mode driver includes a command injector configured to generate a different additional command according to a type of the kernel command, enabling referencing between the kernels, and to output the kernel command and the additional command corresponding to the kernel command.
