Instruction sets for generating schedules for task execution in computing systems
Abstract
One or more embodiments of the present disclosure relate to receiving application data indicative of a plurality of runnables corresponding to a computing application. Additionally, one or more embodiments may relate to generating, based at least on the application data, an execution schedule for execution of the plurality of runnables using a plurality of compute engines. The execution schedule may include one or more commands corresponding to one or more timing fences. The one or more timing fences may dictate a timing and order of execution between at least a first runnable and a second runnable of the plurality of runnables.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A system comprising: a heterogenous platform including a plurality of compute engines in which two or more compute engines of the plurality of compute engines are of two different types, the heterogeneous platform executing a plurality of runnables corresponding to a computing application across different compute engines of the plurality of compute engines according to a deterministic and static execution schedule such that the same runnables of the plurality of runnables are executed by the same compute engines according to the same timing across multiple different execution iterations of the computing application, wherein: the execution schedule is based at least on application data corresponding to the plurality of runnables, the application data indicating: a dependency between two or more of the runnables of the plurality of runnables; respective compute engine types for execution of one or more runnables of the plurality of runnables; and respective timing constraints of one or m
- Claim 2Depends on #1
The system of claim 1, wherein the one or more timing fences correspond to one or more synchronization primitives that are designated for storage on a shared memory accessible by two or more compute engines of the plurality of compute engines.
- Claim 3Depends on #1
The system of claim 1, wherein the execution schedule further includes one or more second commands that correspond to a respective compute engine of the plurality of compute engines.
- Claim 4Depends on #1
The system of claim 1, wherein at least one of the one or more commands or one or more second commands of the execution schedule include one or more of: respective instantiations of one or more synchronization primitives; respective instantiations of the one or more timing fences; one or more fence instructions related to controlling execution of at least the first runnable and the second runnable based at least on the one or more timing fences; one or more instructions to call on one or more compute engines of the plurality of compute engines; one or more instructions to execute one or more runnables of the plurality of runnables on the one or more compute engines of the plurality of compute engines; one or more instructions to enqueue the one or more runnables on the one or more compute engines; one or more instructions to signal one or more synchronization primitives; or one or more instructions related to execution wait times.
- Claim 5Depends on #4
The system of claim 4, wherein the one or more fence instructions include a pre-fence instruction that corresponds to a synchronization constraint that must be met prior to execution of the second runnable.
- Claim 6Depends on #5
The system of claim 5, wherein the synchronization constraint includes a corresponding synchronization primitive having a value that corresponds to a particular timing fence of the one or more timing fences.
- Claim 7Depends on #4
The system of claim 4, wherein the one or more fence instructions include a post-fence instruction that corresponds to changing a state of a corresponding synchronization primitive in response to completion of a corresponding runnable of the plurality of runnables.
- Claim 8Depends on #1
The system of claim 1, wherein generation of the execution schedule includes: generating an intermediate execution schedule that indicates the timing and the order of execution of at least the first runnable and the second runnable; and translating, based on an instruction set that corresponds to a runtime system, the intermediate execution schedule into the one or more commands to obtain a final execution schedule that is used as the execution schedule.
Technical Overview & Description
RELATED APPLICATION This application claims priority to U.S. Provisional Patent Application No. 63/261,827, filed Sep. 29, 2021, and titled “ DETERMINISTIC SCHEDULING FOR AUTONOMOUS MACHINE APPLICATIONS, ” the entire contents of which are incorporated by reference in the present disclosure. BACKGROUND On a complex System on a Chip (SoC), the behavior exhibited by components (e.g., software components) depends on the state of the SoC as exhibited by any number of factors — such as the state of other software components (e.g., locks, memory contention, etc.), the state of the hardware (e.g., caches, physical memory, etc.), a combination thereof, and/or other factors. Scheduling the execution of tasks in such a way that satisfies real-time constraints in such an environment can be difficult. For example, dynamic scheduling and preemption of tasks by engine-specific schedulers leads to a rapid increase in the size of the state space that may be validated and certified for timing determinism — which may include validating worst case behavior with respect to satisfying timing guarantees of the system applications. Furthermore, existing real-time schedulers are generally centric to Central Processing Units (CPU) and do not provide ordering and timing guarantees on heterogeneous hardware platforms (e.g., hardware platforms that include multiple components such as Graphics Processing Units (GPU), accelerators, etc.). For example, priority-based real-time scheduling policies — such as rate monotonic scheduling and earliest deadline first — are dynamic in nature and may involve preemption, a mechanism well-studied and optimized on CPUs, but expensive on non-CPU engines (e.g., GPUs, accelerators, parallel processing units (PPUs), data processing units (DPUs), vector processing units (VPUs), etc.). Therefore, using this type of scheduling process, achieving determinism is challenging as the resulting schedule is dynamic and may not always complete processing within a given time
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|