# US 2025/0328755 A1 · Neural processing device and method for synchronization thereof

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

- Number: US 2025/0328755 A1
- Document ID: US20250328755A1
- Status: Published application
- Kind: A1
- Application number: 19/253,349
- Filed: 2025-06-27
- Published: 2025-10-23
- Earliest claimed: 2021-12-30
- Assignees: Rebellions Inc.
- Applicants: Rebellions Inc.
- Inventors: Jinwook Oh; Jinseok Kim; Kyeongryeol Bong; Wongyu Shin; Chang-Hyo Yu
- Web page: https://patentgrep.com/patent/US20250328755A1

## CPC

- G06N 3/063: using electronic means
- G06F 5/065: {Partitioned buffers, e.g. allowing multiple independent queues, bidirectional FIFO's}
- G06F 9/3834: {Maintaining memory consistency}
- G06F 9/3877: {using a secondary processor, e.g. coprocessor (peripheral processor G06F13/12)}
- G06F 9/52: Program synchronisation; Mutual exclusion, e.g. by means of semaphores
- G06F 12/0813: with a network or matrix configuration
- G06F 13/1663: {Access to shared memory}
- G06F 15/17325: {Synchronisation; Hardware support therefor (intertask synchronisation G06F9/52)}
- G06F 2212/1024: Latency reduction
- G06F 2212/454: Vector or matrix data
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A neural processing device is provided. The neural processing device comprises a plurality of neural processors, a shared memory shared by the plurality of neural processors, a plurality of semaphore memories, and global interconnection. The plurality of neural processors generates a plurality of L3 sync targets, respectively. Each semaphore memory is associated with a respective one of the plurality of neural processors, and the plurality of semaphore memories receive and store the plurality of L3 sync targets, respectively. Synchronization of the plurality of neural processors is performed according to the plurality of L3 sync targets. The global interconnection connects the plurality of neural processors with the shared memory, and comprises an L3 sync channel through which an L3 synchronization signal corresponding to at least one L3 sync target is transmitted.

## Claims

### Claim 1

A neural processing device comprising:
a first neural processor and a second neural processor;
a shared memory shared by the first neural processor and the second neural processor;
a first semaphore memory and a second semaphore memory, respectively associated with the first neural processor and the second neural processor, the first semaphore memory and the second semaphore memory are configured to receive and store an L3 sync target, respectively, wherein synchronization of the first neural processor and the second neural processor is performed according to the L3 sync target; and
a global interconnection configured to connect the first neural processor and the second neural processor with the shared memory, and comprising an L3 sync channel through which a synchronization signal according to the L3 sync target is transmitted,
wherein the global interconnection further comprises:
a data channel configured to transmit data between the shared memory, the first neural processor, and the second neural processor; and
a control channel configured to transmit a control signal to the first neural processor and the second neural processor,
wherein the L3 sync channel is provided as dedicated channel for transmitting the synchronization signal according to the L3 sync target within the global interconnection and is physically separated from the data channel and the control channel.

### Claim 2 (depends on 1)

The neural processing device of claim 1, wherein the first semaphore memory comprises a first field and a second field, respectively associated with the first neural processor and the second neural processor,
the neural processing device further comprising:
a first FIFO buffer configured to sequentially transfer values of the first field to the first neural processor.

### Claim 3 (depends on 1)

The neural processing device of claim 1, wherein the L3 sync target comprises a first L3 sync target and a second L3 sync target,
the first neural processor is configured to generate the first L3 sync target, and
the second neural processor is configured to generate the second L3 sync target.

### Claim 4 (depends on 1)

The neural processing device of claim 1, wherein each of the first neural processor and the second neural processor comprises:
at least one neural core;
a local interconnection configured to transmit data between the at least one neural core; and
an L2 sync path along which synchronization signal according to an L2 sync target for performing synchronization between the at least one neural core is transmitted.

### Claim 5 (depends on 4)

The neural processing device of claim 4, wherein each of the at least one neural core comprises:
a processing unit configured to receive an input activation and a weight, perform deep learning calculations, and output an output activation; and
a local memory configured to temporarily store the input activation, the weight, and the output activation.

### Claim 6

A neural processing device comprising:
a first neural processor and a second neural processor;
a shared memory shared by the first neural processor and the second neural processor;
a first semaphore memory and a second semaphore memory, respectively associated with the first neural processor and the second neural processor, the first semaphore memory and the second semaphore memory are configured to receive and store an L3 sync target, respectively, wherein synchronization of the first neural processor and the second neural processor is performed according to the L3 sync target; and
a global interconnection configured to connect the first neural processor and the second neural processor with the shared memory, and comprising an L3 sync channel through which synchronization signal according to the L3 sync target is transmitted,
wherein the L3 sync target comprises a first sync target field and a second sync target field, respectively associated with the first neural processor and the second neural processor,
wherein each of the first sync target field and the second sync target field comprises information on whether the first neural processor and the second neural processor receives the synchronization signal according to the L3 sync target.

### Claim 7 (depends on 6)

The neural processing device of claim 6, wherein the first sync target field and the second sync target field are arranged in the order of virtual IDs of the first neural processor and the second neural processor, respectively,
the first neural processor is configured to identify a physical ID of a neural processor that receives the synchronization signal according to the L3 sync target by using the L3 sync target and a VPID table, and
the VPID table comprises information for converting the virtual ID and the physical ID.

### Claim 8

A neural processing device comprising:
a first neural processor and a second neural processor;
a shared memory;
a global interconnection configured to connect the first neural processor and the second neural processor with the shared memory, and used for L3 synchronization of the first neural processor and the second neural processor; and
a first semaphore memory and a second semaphore memory, respectively associated with the first neural processor and the second neural processor, the first semaphore memory and the second semaphore memory are configured to receive and store a synchronization signal according to the L3 sync target, wherein synchronization of the first neural processor and the second neural processor is performed according to values of the first semaphore memory and the second semaphore memory,
wherein each of the first neural processor and the second neural processor comprises:
at least one neural core;
a local interconnection configured to connect the at least one neural core; and
an L2 sync path used for L2 synchronization of the at least one neural core,
wherein the at least one neural core comprises:
a processing unit configured to perform calculation tasks;
a local memory configured to temporarily store data; and
an L1 sync path used for L1 synchronization of the local memory and the processing unit.

### Claim 9 (depends on 8)

The neural processing device of claim 8, wherein the global interconnection comprises:
a data channel configured to transmit data between the shared memory, the first neural processor, and the second neural processor;
a control channel configured to transmit a control signal between the first neural processor and the second neural processor; and
a sync channel used for the L3 synchronization.

### Claim 10 (depends on 8)

The neural processing device of claim 8, wherein each of the first neural processor and the second neural processor further comprises a local interconnection configured to transmit data between the at least one neural core,
the neural processing device further comprising:
a data path used for exchanging data between elements including the local memory and the processing unit.

### Claim 11 (depends on 8)

The neural processing device of claim 8, wherein the first neural processor is configured to transmit an instruction set architecture (ISA), and
the ISA comprises an operation code, an L3 sync target for the L3 synchronization, an L2 sync target for the L2 synchronization, and an L1 sync target for the L1 synchronization.
