# US 2013/0160019 A1 · Method for Resuming an APD Wavefront in Which a Subset of Elements Have Faulted

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

- Number: US 2013/0160019 A1
- Document ID: US20130160019A1
- Status: Published application
- Kind: A1
- Application number: 13/325,298
- Filed: 2011-12-14
- Published: 2013-06-20
- Earliest claimed: 2011-12-14
- Assignees: Advanced Micro Devices, Inc.
- Inventors: Robert Scott HARTOG; Ralph Clay Taylor; Michael Mantor; Thomas R, Woller; Kevin McGrath; Sebastien Nussbaum; Nuwan Jayasena; Rex McCrary; Philip J. Rogers; Mark Leather
- Web page: https://patentgrep.com/patent/US20130160019A1

## 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

A method resumes an accelerated processing device (APD) wavefront in which a subset of elements have faulted. A restore command for a job including a wavefront is received. A list of context states for the wavefront is read from a memory associated with a APD. An empty shell wavefront is created for restoring the list of context states. A portion of not acknowledged data is masked over a portion of acknowledged data within the restored wavefronts.

## Claims

### Claim 1

A method comprising:
responsive to a command to restore a partially completed wavefront, restoring resources for the partially completed wavefront; and
masking a portion of said restored partially completed wavefront.

### Claim 2 (depends on 1)

The method of claim 1, wherein restoring resources for the partially completed wavefront further comprises restoring resources based on the list of context states of the wavefront within a memory.

### Claim 3 (depends on 1)

The method of claim 1, wherein the masking comprises using bit vectors identifying at least one of portions of the wavefront that has been acknowledged and portions of the wavefront that have not been acknowledged.

### Claim 4 (depends on 3)

The method of claim 3, wherein the portions of the wavefront that have or have not been acknowledged comprise threads.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
sending the masked wavefront from a command processor to a dispatch controller; and
receiving, within a shader core, the masked wavefront from the dispatch controller for re-execution.

### Claim 6 (depends on 5)

The method of claim 5, further comprising structuring the empty shell wavefront based on a size of the restored wavefront.

### Claim 7 (depends on 6)

The method of claim 6, further comprising restoring, using a trap routine, the context states into the empty shell wavefront.

### Claim 8 (depends on 1)

The method of claim 1, further comprising tracking, using the wavefront, a plurality of threads that receive not acknowledged and acknowledged data within a bit vectors.

### Claim 9 (depends on 8)

The method of claim 8, further comprising periodically retrying a plurality of threads that receive not acknowledged data.

### Claim 10

A computer readable storage medium having stored thereon computer executable instructions that, if executed by a computing device, cause the computing device to perform a method comprising:
responsive to a command to restore a partially completed wavefront, restoring resources for the partially completed wavefront; and
masking a portion of said restored partially completed wavefront.

### Claim 11 (depends on 10)

The computer readable storage medium of claim 10, wherein restoring resources for the partially completed wavefront further comprises restoring resources based on the list of context states of the wavefront within a memory.

### Claim 12 (depends on 11)

The computer readable storage medium of claim 11, wherein the masking comprises using bit vectors identifying at least one of portions of the wavefront that has been acknowledged and portions of the wavefront that have not been acknowledged.

### Claim 13 (depends on 12)

The computer readable storage medium of claim 12, wherein the portions of the wavefront that have or have not been acknowledged comprise threads.

### Claim 14

An apparatus, comprising:
a memory; and
an accelerated processing device coupled to the memory, wherein the accelerated processing device is configured to, based on instructions stored in the memory:
responsive to a command to restore a partially completed wavefront, restore resources for the partially completed wavefront; and
mask a portion of said restored partially completed wavefront.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein restoring resources for the partially completed wavefront further comprises restoring resources based on the list of context states of the wavefront within a memory.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the masking comprises using bit vectors identifying at least one of portions of the wavefront that has been acknowledged and portions of the wavefront that have not been acknowledged.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the portions of the wavefront that have or have not been acknowledged comprise threads.
