# US 2013/0160021 A1 · Signaling, ordering, and execution of dynamically generated tasks in a processing system

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

- Number: US 2013/0160021 A1
- Document ID: US20130160021A1
- Status: Published application
- Kind: A1
- Application number: 13/329,169
- Filed: 2011-12-16
- Published: 2013-06-20
- Earliest claimed: 2011-12-16
- Assignees: NVIDIA Corporation
- Inventors: Timothy John PURCELL; Lacky V. Shah; Jerome F. Duluk, JR.; Sean J. Treichler; Karim M. Abdalla; Philip Alexander Cuadra; Brian Pharris
- Web page: https://patentgrep.com/patent/US20130160021A1

## CPC

- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One embodiment of the present invention sets forth a technique for enabling the insertion of generated tasks into a scheduling pipeline of a multiple processor system allows a compute task that is being executed to dynamically generate a dynamic task and notify a scheduling unit of the multiple processor system without intervention by a CPU. A reflected notification signal is generated in response to a write request when data for the dynamic task is written to a queue. Additional reflected notification signals are generated for other events that occur during execution of a compute task, e.g., to invalidate cache entries storing data for the compute task and to enable scheduling of another compute task.

## Claims

### Claim 1

A method of notifying a task manager that data is available for processing, the method comprising:
generating a first notification signal that is transmitted to the task manager, wherein the notification signal specifies a first offset and a first delta value;
storing first data that is associated with the first offset and the first delta value in a queue corresponding to a first processing task;
generating a second notification signal that is transmitted to the task manager, wherein the notification signal comprises a second offset and a second delta value;
storing second data that is associated with the second offset and the second delta value in the queue corresponding to the first processing task;
receiving the first notification signal and a second notification signal;
determining if the first offset and the first delta value can be coalesced with the second offset and the second delta value to generate a coalesced offset and a coalesced delta value; and
scheduling, by the task manager, processing of at least one of the first data and the second data for the first processing task in a processing cluster array.

### Claim 2 (depends on 1)

The method of claim 1, further comprising inserting the first offset, the first delta value, the second offset, and the second delta value into a linked list in an order based on the first offset and the second offset when the first offset and the first delta value cannot be coalesced with the second offset and the second delta.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
advancing a pointer to a head of the queue when the pointer points to an entry of the queue that stores at least a portion of the first data; and
removing the first offset and the first delta value from the linked list.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
transmitting a first write request including first data for the first processing task to a memory address;
detecting the memory address is in a range of reflected addresses; and
reflecting the first write request directly to the task manager as the first notification signal.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
allocating, in a first order, first entries in the queue for storing the first data and second entries in the queue for storing second data;
transmitting a second write request including the second data for the processing task to the memory; and
processing the second write request to store the second data for the processing task in the memory, wherein the first write request and the second write request are processed in a second order that is different compared with the first order.

### Claim 6 (depends on 1)

The method of claim 1, further comprising executing an instruction that specifies the first offset and a first delta value, wherein execution of the instruction that causes the generating of the first notification signal.

### Claim 7 (depends on 1)

The method of claim 1, further comprising generating a third notification signal that is transmitted directly to the task manager, wherein the third notification signal is configured to copy data from a first portion of the task metadata structure to a second portion of the task metadata structure.

### Claim 8 (depends on 1)

The method of claim 1, further comprising generating a third notification signal that is transmitted directly to the task manager, wherein the third notification signal is configured to invalidate entries in a cache storing data of a task metadata structure that encodes the processing task.

### Claim 9 (depends on 1)

The method of claim 1, further comprising generating a third notification signal that is transmitted directly to the task manager, wherein the third notification signal is configured to write a flag that controls whether the processing task is scheduled for execution.

### Claim 10 (depends on 1)

The method of claim 1, wherein the processing task is a dynamic processing task and the first data is generated by a different processing task.

### Claim 11

A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to notify a task manager that data is available for processing, by performing the steps of:
generating a first notification signal that is transmitted to the task manager, wherein the notification signal specifies a first offset and a first delta value;
storing first data that is associated with the first offset and the first delta value in a queue corresponding to a first processing task;
generating a second notification signal that is transmitted to the task manager, wherein the notification signal comprises a second offset and a second delta value;
storing second data that is associated with the second offset and the second delta value in the queue corresponding to the first processing task;
receiving the first notification signal and a second notification signal;
determining if the first offset and the first delta value can be coalesced with the second offset and the second delta value to generate a coalesced offset and a coalesced delta value; and
scheduling, by the task manager, processing of at least one of the first data and the second data for the first processing task in a processing cluster array.

### Claim 12

A system for notifying a task manager that data is available for processing, the system comprising:
a queue corresponding to a first processing task and that is configured to store the data, including first data and second data;
a memory management unit that is configured to:
generate a first notification signal that is transmitted directly to the task manager, wherein the notification signal specifies a first offset and a first delta value associated with the first data; and
generate a second notification signal that is transmitted directly to the task manager, wherein the notification signal specifies a second offset and a second delta value associated with the second data; and
the task manager that is configured to:
receive the first notification signal and the second notification signal;
determine if the first offset and the first delta value can be coalesced with the second offset and the second delta value to generate a coalesced offset and a coalesced delta value; and
schedule processing of at least one of the first data and the second data for the first processing task in a processing cluster array.

### Claim 13 (depends on 12)

The system of claim 12, wherein the task manager is further configured to: insert the first offset, the first delta value, the second offset, and the second delta value into a linked list in an order based on the first offset and the second offset when the first offset and the first delta value for the first reflected notification signal cannot be coalesced with the second offset and the second delta.

### Claim 14 (depends on 13)

The system of claim 13, wherein the task manager is further configured to:
advance a pointer to a head of the queue when the pointer points to an entry of the queue that stores at least a portion of the first data; and
remove the first offset and the first delta value from the linked list.

### Claim 15 (depends on 12)

The system of claim 12, wherein the memory management unit is further configured to:
receive a first write request to a memory address including first data for the first processing task;
detect the memory address is in a range of reflected addresses; and
reflect the first write request directly to the task manager as the first notification signal.

### Claim 16 (depends on 12)

The system of claim 12, wherein the processing cluster array is further configured to:
allocate, in a first order, first entries in the queue for storing the first data and second entries in the queue for storing second data; and
transmit a second write request including the second data for the processing task to the memory, and
the memory management unit is further configured to process the second write request to store the second data for the processing task in the memory, wherein the first write request and the second write request are processed in a second order that is different compared with the first order.

### Claim 17 (depends on 12)

The system of claim 12, wherein the processing cluster array is further configured to generate a third notification signal that is transmitted directly to the task manager, and the third notification signal is configured to copy data from a first portion of the task metadata structure to a second portion of the task metadata structure.

### Claim 18 (depends on 12)

The system of claim 12, wherein the multi-threaded processor is further configured to generate a third notification signal that is transmitted directly to the task manager, and the third notification signal is configured to invalidate entries in a cache storing data of a task metadata structure that encodes the processing task.

### Claim 19 (depends on 12)

The system of claim 12, wherein the multi-threaded processor is further configured to generate a third notification signal that is transmitted directly to the task manager, and the third notification signal is configured to write a flag that controls whether the processing task is scheduled for execution.

### Claim 20

A method of notifying a task manager that data is available for processing, the method comprising:
executing a first processing task by a processing cluster array;
generating, during execution of the first processing task, a first notification signal that is configured to write a flag that controls whether a second processing task is scheduled for execution;
directly transmitting the first notification signal from the processing cluster array to the task manager; and
scheduling, by the task manager, processing of the data for the second processing task in the processing cluster array when the flag is enabled.

### Claim 21

A system for notifying a task manager that data is available for processing, the system comprising:
a processing cluster array that is configured to:
execute a first processing task; and
generate, during execution of the first processing task, a first notification signal that is configured to write a flag that controls whether a second processing task is scheduled for execution;
a memory management unit that is configured to transmit the first notification signal directly from the processing cluster array to the task manager; and
the task manager that is configured to scheduling processing of the data for the second processing task in the processing cluster array when the flag is enabled.
