# US 2017/0287198 A1 · Directed acyclic graph path enumeration with application in multilevel instancing

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

- Number: US 2017/0287198 A1
- Document ID: US20170287198A1
- Status: Published application
- Kind: A1
- Application number: 15/087,288
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Louis Feng
- Web page: https://patentgrep.com/patent/US20170287198A1

## CPC

- G06T 15/005: {General purpose rendering architectures}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06T 17/005: {Tree description, e.g. octree, quadtree}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments provide for an apparatus including one or more processors having logic to enumerate a directed path through nodes of a directed acyclic graph, the logic to determine a key for a node and a path identifier for a directed path between nodes of the directed acyclic graph.

## Claims

### Claim 1

An apparatus comprising:
one or more processors including logic to enumerate a directed path through nodes of a directed acyclic graph, the logic to determine a key for a node and a path identifier for a directed edge between nodes of the directed acyclic graph.

### Claim 2 (depends on 1)

The apparatus as in claim 1, wherein to determine the key for the node, the logic is to determine a minimum path identifier and a maximum path identifier for each node of the directed acyclic graph.

### Claim 3 (depends on 2)

The apparatus as in claim 2, the logic further to determine the key for the node based on the minimum path identifier and the maximum path identifier associated with a parent node of the node.

### Claim 4 (depends on 1)

The apparatus as in claim 1, the logic to determine a path identifier for a directed edge in the directed acyclic graph and assign the path identifier to the directed edge, the path identifier unique for each directed edge within the directed acyclic graph.

### Claim 5 (depends on 4)

The apparatus as in claim 4, the logic to determine a unique path identifier for each directed path within the directed acyclic graph.

### Claim 6 (depends on 4)

The apparatus as in claim 4, the logic to determine a unique path identifier for one or more directed paths in parallel.

### Claim 7 (depends on 1)

The apparatus as in claim 1, wherein the path identifier for a directed edge is a sum of the keys of the nodes of the directed edge.

### Claim 8 (depends on 7)

The apparatus as in claim 7, wherein the path identifier for each directed path is a sum of the keys of the nodes of the directed path.

### Claim 9 (depends on 1)

The apparatus as in claim 1, wherein the apparatus additionally includes renderer logic and the directed acyclic graph is a multi-level instancing graph to define multiple instances of at least one shared geometric object to be rendered by the renderer logic.

### Claim 10 (depends on 9)

The apparatus as in claim 9, wherein the renderer logic is a parallel renderer including ray-tracing logic.

### Claim 11

A non-transitory machine-readable medium storing instructions which, when executed by one or more processors, cause the one or more processors to perform operations to enumerate a directed path through a directed multi-level instancing graph, the operations including:
popping a node of the directed multi-level instancing graph from a node queue;
computing a key value for the node and assigning the key value to the node;
recording a minimum path identifier to use in processing one or more children of the node;
computing a next path identifier to use in processing one or more children of the node, the next path identifier greater than a current path identifier;
for each child node of the node, updating the minimum path identifier and maximum path identifier for the child node; and
pushing a child node onto the node queue after the minimum path identifier and maximum path identifier for the child node is updated for each parent of the child node.

### Claim 12 (depends on 11)

The non-transitory machine-readable medium of claim 11, before processing a non-root node of the multi-level instancing graph, the operations include:
initializing the minimum path identifier and the maximum path identifier for a root node of a directed multi-level instancing graph to zero;
initializing the path identifier to one; and
pushing the root node onto the node queue.

### Claim 13 (depends on 11)

The non-transitory machine-readable medium as in claim 11, the operations additionally including determining a value for the minimum path identifier based on the value of a current path identifier.

### Claim 14 (depends on 11)

The non-transitory machine-readable medium as in claim 11, the operations additionally including determining a value of the next path identifier based on values of the minimum path identifier and maximum path identifier for the node.

### Claim 15 (depends on 11)

The non-transitory machine-readable medium as in claim 11, the operations additionally including, after assigning a key to each node of a directed edge, determining a path identifier for the directed edge based on a sum of the key values of each node of the directed edge.

### Claim 16

A computing system comprising:
one or more processors including logic to enumerate a directed path through nodes of a directed acyclic graph, the logic to determine a key for a node and a path identifier for a directed edge between nodes of the directed acyclic graph; and
parallel renderer logic to render a shared geometric object using the directed acyclic graph, the directed acyclic graph a multi-level instancing graph to define multiple instances of the shared geometric object.

### Claim 17 (depends on 16)

The computing system as in claim 16, the logic to enumerate the directed path to determine unique path identifiers for directed paths within the directed acyclic graph.

### Claim 18 (depends on 17)

The computing system as in claim 17, wherein the unique path identifiers are a sum of the keys of the nodes within the directed path.

### Claim 19 (depends on 16)

The computing system as in claim 16, additionally comprising a display device to display the rendered shared geometric object.

### Claim 20 (depends on 16)

The computing system as in claim 16, additionally comprising a non-transitory machine readable storage device to store the parallel renderer logic.

### Claim 21 (depends on 16)

The computing system as in claim 16, additionally comprising a parallel renderer API to interface the parallel renderer logic with a visualization application.

### Claim 22 (depends on 16)

The computing system as in claim 16, wherein the one or more processors include one or more graphics processors.

### Claim 23 (depends on 16)

The computing system as in claim 16, wherein the one or more processors include a many integrated core processor.
