Interleaving of indirect prefetches with indirect draws and dispatches at a command buffer
AssigneeAdvanced Micro Devices, Inc.
InventorsRakan Khraisha, Alexander Fuad Ashkar, Harry J Wise, Manu Rastogi
Life of this patent
Estimating the term…
Abstract
An indirect command buffer mitigates memory latencies associated with fetching data, arguments, and state by interleaving prefetch packets with indirect draw commands and/or indirect dispatch commands. The indirect command buffer is populated by one of a driver of a CPU and a command processor of a parallel processor using an interleaving pattern for the prefetch packets and the indirect draw and/or dispatch commands that is based on physical constraints of local memory at the parallel processor
Claims20
A method comprising:
- populating a command buffer with commands comprising prefetch packets, and at least one of indirect draw commands and indirect dispatch commands;
- interleaving, at the command buffer, the prefetch packets with at least one of the indirect draw commands and the indirect dispatch commands;
- and
- executing at least one of the indirect draw commands and the indirect dispatch commands while prefetching data indicated by a prefetch packet.
A parallel processor comprising:
- a local memory;
- and
- a command buffer configured to store commands comprising prefetch packets interleaved with at least one of indirect draw commands and indirect dispatch commands for execution by the parallel processor, wherein the parallel processor is configured to execute at least one of the indirect draw commands and the indirect dispatch commands while prefetching data indicated by a prefetch packet.
A processing system, comprising:
- a central processing unit;
- and
- a parallel processor comprising:
- a local memory;
- and
- a command buffer configured to store commands comprising prefetch packets interleaved with indirect draw commands and indirect dispatch commands for execution by the parallel processor, wherein the parallel processor is configured to execute at least one of the indirect draw commands and the indirect dispatch commands while prefetching data indicated by a prefetch packet.
Dependencies are inferred from the claim text.