# US 2021/0004249 A1 · Systems and methods for automatic data management for an asynchronous task-based runtime

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

- Number: US 2021/0004249 A1
- Document ID: US20210004249A1
- Status: Published application
- Kind: A1
- Application number: 16/786,241
- Filed: 2020-02-10
- Published: 2021-01-07
- Earliest claimed: 2016-11-23
- Assignees: Reservoir Labs, Inc.
- Applicants: Reservoir Labs, Inc.
- Inventors: Muthu Manikandan Baskaran; Benoit J. Meister; Benoit Pradelle
- Web page: https://patentgrep.com/patent/US20210004249A1

## CPC

- G06F 9/45516: {Runtime code conversion or optimisation}
- G06F 8/41: Compilation
- G06F 8/443: {Optimisation}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

A compilation system can define, at compile time, the data blocks to be managed by an Even Driven Task (EDT) based runtime/platform, and can also guide the runtime/platform on when to create and/or destroy the data blocks, so as to improve the performance of the runtime/platform. The compilation system can also guide, at compile time, how different tasks may access the data blocks they need in a manner that can improve performance of the tasks.

## Claims

### Claim 1

A method of creating, distributing, and deleting data blocks to be used by one or more tasks to be executed by a plurality of processing nodes in an event-driven task (EDT) platform, the method comprising:
performing, by a processor configured as a compiler, compile-time operations comprising:
identifying a first data variable in the source code of the program;
determining from the source code a size and initialization of the first data variable;
determining a first set of data blocks associated with the first data variable, based on at least one of: (i) a specified data block size, (ii) a number of processing nodes in the EDT platform; and (iii) memory capacity at a processing node in the EDT platform; and
specifying in a modified program, a first data-block-creation task for creating and initializing a first data block from the first set of data blocks during execution of the modified program by the EDT platform.

### Claim at position 2

2-12. (canceled)

### Claim 13

A method of facilitating data access by a task to be executed by one of a plurality of processing nodes in an event-driven task (EDT) platform, the method comprising:
performing, by a processor configured as a compiler, compile-time operations comprising:
identifying a first data object used by a first task that is derived from source code of a program and that is executable on a first processing node of the EDT platform;
identifying a first data block associated with the first data object, the first data block being stored at a second processing node;
computing a data access parameter corresponding to the first data object; and
if the data access parameter is at least equal to a specified threshold, inserting in the first task a customized data access operation, for accessing the first data block via a local copy thereof at the first processing node; and
otherwise, inserting in the first task a data access operation supplied by the EDT platform, for accessing the first data block from the second processing node.

### Claim at position 4

14-24. (canceled)

### Claim 25

A system for creating, distributing, and deleting data blocks to be used by one or more tasks to be executed by a plurality of processing nodes in an event-driven task (EDT) platform, the system comprising:
a first processor; and
a first memory in electrical communication with the first processor, the first memory comprising instructions which, when executed by a processing unit comprising at least one of the first processor and a second processor, and in electronic communication with a memory module comprising at least one of the first memory and a second memory, configure the processing unit as a compiler programmed to:
identify a first data variable in the source code of the program;
determine from the source code a size and initialization of the first data variable;
determine a first set of data blocks associated with the first data variable, based on at least one of: (i) a specified data block size, (ii) a number of processing nodes in the EDT platform; and (iii) memory capacity at a processing node in the EDT platform; and
specify in a modified program, a first data-block-creation task for creating and initializing a first data block from the first set of data blocks during execution of the modified program by the EDT platform.

### Claim at position 6

26-48. (canceled)
