BVH Traversal Optimizing Ray Tracing Throughput

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Ray tracing operations are computationally expensive and face inefficiencies due to divergent control flow and high processing resource requirements, particularly in traversing bounding volume hierarchies during triangle node traversal.

Innovation Solution

A technique is introduced that involves submitting multiple intersection test requests before receiving results, optimizing triangle node traversal by preordering data to reduce memory transactions and leveraging parallel processing to accelerate triangle node traversal within the bounding volume hierarchy, allowing for simultaneous testing and reading of multiple triangle nodes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If traditional sequential intersection testing is used during BVH traversal, then processing accuracy is maintained, but hardware resources remain idle and processing speed decreases

Engineering Contradiction:
Improvetriangle node traversal speedVSAvoididle hardware resource time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent applies preliminary action by submitting multiple intersection test requests to the intersection test unit before receiving results from previous requests. This allows the traversal unit to keep the intersection test unit continuously occupied, eliminating idle time and improving overall processing speed during BVH traversal.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements continuity of useful action by maintaining a pipeline of intersection test requests. The traversal unit continuously issues new intersection test requests while waiting for results from previous requests, ensuring the intersection test unit remains actively engaged throughout the traversal process rather than experiencing idle periods between sequential tests.

Inventive Principle:
Principle #20Continuity of useful action

2Productivity

If multiple intersection test requests are submitted in parallel, then processing speed improves, but memory transaction overhead increases

Engineering Contradiction:
Improveray tracing processing throughputVSAvoidmemory transaction management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies merging by combining multiple triangle node data accesses into single memory transactions. When multiple intersection test requests are issued in parallel, the system merges their memory access requirements into unified transactions, reducing the total number of memory operations while maintaining parallel processing throughput.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent uses preliminary action by pre-ordering triangle node data in memory before traversal begins. This preprocessing step organizes data so that parallel intersection test requests can access required information more efficiently, reducing memory transaction overhead while maintaining high processing throughput.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If divergent control flow is handled traditionally, then correctness is maintained, but SIMD unit utilization decreases

Engineering Contradiction:
Improvetraversal correctnessVSAvoidSIMD unit utilization
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent applies preliminary action by pre-calculating and storing traversal metadata that encodes control flow decisions. This allows SIMD units to execute uniform code paths while the pre-stored metadata directs the correct traversal behavior, maintaining correctness while achieving high SIMD utilization by avoiding divergent control flow during execution.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS20240282044A1Variable rate BVH traversal
Publication Date: 2024.08.22 INC ADVANCED MICRO DEVICES
  • US20240282044A1 patent drawing
  • US20240282044A1 patent drawing
  • US20240282044A1 patent drawing

AI summary

A technique for performing ray tracing operations is provided. The technique includes, submitting a plurality of intersection test requests to an intersection test unit, wherein the plurality of intersection test requests are submitted prior to receiving results of any of the intersection test requests from the intersection test unit