# US 2025/0209015 A1 · Dynamic and scalable monitor callbacks

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

- Number: US 2025/0209015 A1
- Document ID: US20250209015A1
- Status: Published application
- Kind: A1
- Application number: 18/389,954
- Filed: 2023-12-20
- Published: 2025-06-26
- Earliest claimed: 2023-12-20
- Assignees: Advanced Micro Devices, Inc.
- Applicants: Advanced Micro Devices, Inc.
- Inventors: Mark Unruh Wyse; Anthony Thomas Gutierrez; Stephen Alexander Zekany
- Web page: https://patentgrep.com/patent/US20250209015A1

## CPC

- G06F 13/1652: {in a multiprocessor architecture (interprocessor communication using common memory G06F15/167)}
- G06F 9/4812: {by interrupt, e.g. masked}
- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 13/24: using interrupt (G06F13/32 takes precedence)
- G06F 2209/548: Queue
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing system employs a hardware signal monitor (HSM) to manage signaling for processing units. The HSM monitors designated memory addresses assigned to signals generated by one or more processing units. Moreover, a single HSM is used to receive and process multiple signals, such as processing different signals received from the one or more processing units. Thus, the HSM improves scalability by managing multiple signals and correspondingly, is able to monitor a greater number of active tasks completed by the one or more processing units.

## Claims

### Claim 1

A method, comprising:
receiving, at a hardware signal monitor (HSM), a first stored value in at least one first signal from a first processing unit;
receiving, at the HSM, a second stored value in at least one second signal from at least one second processing unit; and
notifying, by the HSM, another processing unit in response to processing the at least one first signal based on the first stored value and the at least one second signal based on the second stored value.

### Claim 2 (depends on 1)

The method of claim 1, wherein notifying the another processing unit comprises:
enqueuing a first task identification (ID) into a completion queue of the another processing unit; and
enqueuing a second task ID into the completion queue of the another processing unit.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first task ID indicates completion of a first task by the first processing unit and the second task ID indicates completion of a second task by the second processing unit.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first task ID indicates an origin of the at least one first signal and the second task ID indicates an origin of the at least one second signal.

### Claim 5 (depends on 1)

The method of claim 1, wherein notifying the another processing unit comprises:
notifying the another processing unit of a first completed task by the first processing unit and a second completed task by the at least one second processing unit.

### Claim 6 (depends on 1)

The method of claim 1, wherein notifying the another processing unit comprises:
delivering a first interrupt code to a memory-mapped input/output (MMIO) port of the another processing unit; and
delivering a second interrupt code to the MMIO port of the another processing unit.

### Claim 7 (depends on 6)

The method of claim 6, wherein the first interrupt code corresponds to the first stored value and the second interrupt code corresponds to the second stored value.

### Claim 8

A method, comprising:
receiving, at a first hardware signal monitor (HSM), a first stored value in a first signal from a first processing unit that has completed a first task; and
executing a callback, by the first HSM, based on the first stored value in the first signal.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
based on execution of the callback, invoking one of:
a second processing unit; and
a third processing unit.

### Claim 10 (depends on 9)

The method of claim 9, wherein invoking the second processing unit comprises:
one of:
sending, by the first HSM, the first task to the second processing unit; and
sending, by the first HSM, a second task to the second processing unit, wherein the second task is different from the first task.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
receiving, at a second HSM, a second stored value in a second signal from one of:
the second processing unit; and
the third processing unit; and
notifying, by the second HSM, another processing unit that the first task has been completed in response to processing the second signal based on the second stored value.

### Claim 12 (depends on 9)

The method of claim 9, further comprising:
receiving, at a second HSM, a second stored value in a second signal from the second processing unit and a third stored value in a third signal from the third processing unit.

### Claim 13 (depends on 8)

The method of claim 8, wherein executing the callback comprises:
interpreting the first stored value as a command packet.

### Claim 14 (depends on 8)

The method of claim 8, wherein executing the callback comprises:
executing a function pointer by directing the first HSM to execute a function at a location defined in the first stored value.

### Claim 15 (depends on 8)

The method of claim 8, wherein executing the callback is based on a table of functions stored by the first HSM.

### Claim 16

A system, comprising:
a first processing unit; and
first hardware signal monitor (HSM) circuitry configured to:
receive a first stored value in a first signal from the first processing unit that has completed a first task; and
execute a callback based on the first stored value in the first signal.

### Claim 17 (depends on 16)

The system of claim 16, where the first HSM is further configured to:
based on execution of the callback, invoke one of:
a second processing unit; and
a third processing unit.

### Claim 18 (depends on 17)

The system of claim 17, further comprising:
a second HSM configured to:
receive a second stored value in a second signal from one of:
the second processing unit; and
the third processing unit; and
notify another processing unit that the first task has been completed in response to processing the second signal based on the second stored value.

### Claim 19 (depends on 16)

The system of claim 16, wherein the first HSM is further configured to:
execute a function pointer by directing the first HSM to execute a function at a location indicated by the first stored value.

### Claim 20 (depends on 16)

The system of claim 16, wherein the first HSM is further configured to:
store a table of functions that determines the callback during execution.
