Patent ID: 11900499
Assignee: ADVANCED MICRO DEVICES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for executing commands for an accelerated processing device (APD), the method comprising:
executing commands in a primary command buffer;
asynchronously loading commands into an indirect command buffer;
in response to an indirection command in the primary command buffer pointing to the indirect command buffer, beginning execution of the indirect command buffer;
in response to the indirect command buffer including an iterative flag indicating that iteration should occur, executing commands in the indirect command buffer in an iterative manner, the executing including:
obtaining an iteration number and predication data from metadata for the indirect command buffer;
for each iteration indicated by the iteration number, performing the commands in the indirect command buffer as specified by the predication data; and
ending processing of the commands in the indirect command buffer and returning execution to the primary command buffer in response to processing a number of iterations equal to the iteration number.