hottub.patents
US 12,561,753 B2#3309082 Most CitedActiveUnited States (USPTO)Utility

Node prefetching in a wide BVH traversal with a stack

0Forward Citations (#3309082 Global)
0.0/yrCitation Velocity (#3309082 Global)
0.00Citation PageRank (#3309082 Global)
43Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
122Drawings / Sheets

Abstract

Apparatus and method for prefetching node data. For example, one embodiment of an apparatus comprises: ray tracing acceleration hardware to manage active ray tracing stack allocations within a traversal stack; and stack management hardware logic to issue a prefetch operation comprising an indication of bounding volume hierarchy (BVH) node data to be prefetched and an indication of a cache level, wherein responsive to performing the prefetch operation, the BVH node data is to be prefetched to the indicated cache level.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 43 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    An apparatus comprising: ray tracing acceleration hardware to manage active ray tracing stack allocations within a traversal stack; and stack management hardware logic to issue a prefetch operation comprising an indication of bounding volume hierarchy (BVH) node data to be prefetched to perform ray tracing and an indication of a cache level, wherein responsive to performing the prefetch operation, the BVH node data is to be prefetched to the indicated cache level to be accessed by the ray tracing acceleration hardware to perform the ray tracing, wherein the prefetch operation is to identify a plurality of elements of the traversal stack, and wherein the stack management hardware logic is to identify the plurality of elements as a top-most elements of the traversal stack.

  2. Claim 2Depends on #1

    The apparatus of claim 1 wherein the stack management hardware logic is to identify a plurality of elements as elements below one or more top-most elements of the traversal stack.

  3. Claim 3Depends on #2

    The apparatus of claim 2 wherein the stack management hardware logic is to identify the plurality of elements by anticipating when the plurality of elements are to be accessed by the ray tracing acceleration hardware.

  4. Claim 4Depends on #1

    The apparatus of claim 1 further comprising: a cache subsystem comprising a hierarchy of cache levels, wherein the cache level identified by the prefetch operation comprises one of the cache levels in the hierarchy of cache levels.

  5. Claim 5Depends on #4

    The apparatus of claim 4 wherein the cache level identified by the prefetch operation comprises one of an L2 cache, an L1 cache, and an L0 cache.

  6. Claim 6Depends on #1

    The apparatus of claim 1 wherein the stack management hardware logic is to mark one or more entries of the traversal stack to indicate that the associated BVH node data has been prefetched.

  7. Claim 7Independent Claim

    A method comprising: managing, by ray tracing acceleration hardware, active ray tracing stack allocations within a traversal stack; and performing, by stack management hardware logic, a prefetch operation comprising an indication of bounding volume hierarchy (BVH) node data to be prefetched to perform ray tracing and an indication of a cache level, wherein responsive to performing the prefetch operation, the BVH node data is to be prefetched to the indicated cache level to be accessed by the ray tracing acceleration hardware to perform the ray tracing, wherein a plurality of elements are identified as elements below one or more top-most elements of the traversal stack.

  8. Claim 8Depends on #7

    The method of claim 7 wherein the prefetch operation is to identify a plurality of elements of the traversal stack.

  9. Claim 9Depends on #8

    The method of claim 8 wherein the plurality of elements are identified as a top-most elements of the traversal stack.

  10. Claim 10Depends on #7

    The method of claim 7 wherein the plurality of elements are identified by anticipating when the plurality of elements are to be accessed by the ray tracing acceleration hardware.

  11. Claim 11Depends on #7

    The method of claim 7 wherein the cache level identified by the prefetch operation comprises one cache level in a hierarchy of cache levels.

  12. Claim 12Depends on #11

    The method of claim 11 wherein the cache level identified by the prefetch operation comprises one of an L2 cache, an L1 cache, and an L0 cache.

  13. Claim 13Depends on #7

    The method of claim 7 further comprising: marking one or more entries of the traversal stack to indicate that associated BVH node data has been prefetched.

  14. Claim 14Independent Claim

    A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform: managing, by ray tracing acceleration hardware, active ray tracing stack allocations within a traversal stack; and performing, by stack management hardware logic, a prefetch operation comprising an indication of bounding volume hierarchy (BVH) node data to be prefetched to perform ray tracing and an indication of a cache level, wherein responsive to performing the prefetch operation, the BVH node data is to be prefetched to the indicated cache level to be accessed by the ray tracing acceleration hardware to perform the ray tracing, wherein a plurality of elements are identified as elements below one or more top-most elements of the traversal stack.

  15. Claim 15Depends on #14

    The non-transitory machine-readable medium of claim 14 wherein the prefetch operation is to identify a plurality of elements of the traversal stack.

  16. Claim 16Depends on #15

    The non-transitory machine-readable medium of claim 15 wherein the plurality of elements are identified as a top-most elements of the traversal stack.

  17. Claim 17Depends on #14

    The non-transitory machine-readable medium of claim 14 wherein the plurality of elements are identified by anticipating when the plurality of elements are to be accessed by the ray tracing acceleration hardware.

  18. Claim 18Depends on #14

    The non-transitory machine-readable medium of claim 14 wherein the cache level identified by the prefetch operation comprises one cache level in a hierarchy of cache levels.

  19. Claim 19Depends on #18

    The non-transitory machine-readable medium of claim 18 wherein the cache level identified by the prefetch operation comprises one of an L2 cache, an L1 cache, and an L0 cache.

  20. Claim 20Depends on #14

    The non-transitory machine-readable medium of claim 14 wherein the program code is to cause the machine to perform: marking one or more entries of the traversal stack to indicate that associated BVH node data has been prefetched.

Technical Overview & Description

BACKGROUND Field of the Invention This invention relates generally to the field of graphics processors. More particularly, the invention relates to an apparatus and method for node prefetching in a wide BVH traversal with a stack. Description of the Related Art Ray tracing is a technique in which a light transport is simulated through physically-based rendering. Widely used in cinematic rendering, it was considered too resource-intensive for real-time performance until just a few years ago. One of the key operations in ray tracing is processing a visibility query for ray-scene intersections known as “ ray traversal ” which computes ray-scene intersections by traversing and intersecting nodes in a bounding volume hierarchy (BVH). Rasterization is a technique in which, screen objects are created from 3D models of objects created from a mesh of triangles. The vertices of each triangle intersect with the vertices of other triangles of different shapes and sizes. Each vertex has a position in space as well as information about color, texture and its normal, which is used to determine the way the surface of an object is facing. A rasterization unit converts the triangles of the 3D models into pixels in a 2D screen space and each pixel can be assigned an initial color value based on the vertex data. BRIEF DESCRIPTION OF THE DRAWINGS A better understanding of the present invention can be obtained from the following detailed description in conjunction with the following drawings, in which: FIG. 1 is a block diagram of a processing system, according to an embodiment. FIG. 2 A is a block diagram of an embodiment of a processor having one or more processor cores, an integrated memory controller, and an integrated graphics processor. FIG. 2 B is a block diagram of hardware logic of a graphics processor core block, according to some embodiments described herein. FIG. 2 C illustrates a graphics processing unit (GPU) that includes dedicated sets of graphics processing resources arr

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (43)

PatentTitleYearCitations
US 4,942,521 AMicroprocessor with a cache memory in which validity flags for first and second data areas are simultaneously readable199017
US 6,381,679 B1Information processing system with prefetch instructions having indicator bits specifying cache levels for prefetching200223
US 6,742,102 B2Microprocessor and cache controlling method20043
US 6,826,636 B2Method and architecture capable of programming and controlling access data and instructions20045
US 6,892,280 B2Multiprocessor system having distributed shared memory and instruction scheduling method used in the same system200517
US 7,028,159 B2Processing device with prefetch instructions having indicator bits specifying cache levels for prefetching20069
US 8,289,324 B1System, method, and computer program product for spatial hierarchy traversal201226
US 8,392,669 B1Systems and methods for coalescing memory accesses of parallel threads201322
US 8,836,702 B2Ray tracing core and method for processing ray tracing20147
US 9,264,265 B1System and method of generating white noise for use in graphics and image processing20169
US 9,275,494 B2Method and apparatus for stack management20162
US 9,418,012 B2Cache manager for segmented multimedia and corresponding method for cache management20166
US 9,728,000 B2Apparatus and method of using acceleration structure in ray tracing20171
US 9,761,039 B2Method and apparatus for hybrid rendering20172
US 9,965,888 B2Method and apparatus for generating and traversing acceleration structure20182
US 9,965,889 B2Ray tracing core and ray tracing chip having the same20181
US 10,019,832 B2Method of generating and traversing acceleration structure20182
US 10,043,235 B2Method for caching GPU data and data processing system therefor20184
US 10,049,488 B2Apparatus and method of traversing acceleration structure in ray tracing system20182
US 10,115,224 B2Method and apparatus generating acceleration structure20181
US 10,275,358 B2High-performance instruction cache system and method20192
US 10,839,475 B2Apparatus and method for compressing leaf nodes of a bounding volume hierarchy (BVH)20207
US 11,086,781 B2Methods and apparatus for monitoring prefetcher accuracy information using a prefetch flag independently accessible from prefetch tag information20211
US 11,087,522 B1Apparatus and method for asynchronous ray tracing202117
US 11,321,910 B2Apparatus and method for reduced precision bounding volume hierarchy construction20225
US 11,403,225 B2Prefetcher, operating method of prefetcher, and processor operated based on updated offset amount20223
KR 20170116775 ACharacter recognition devices for visually impaired—4

Non-Patent Literature (10)

  • Benthin et al.,
  • “
  • PLOC++ : Parallel Locally-Ordered Clustering for Bounding Volume Hierarchy Construction Revisited
  • ”
  • , Pro. ACM Comput. Graph. Interact. Tech., vol. 5, No. 3, Article 31, Jul. 2022, 13 pages.
  • European Search Report and Search Opinion, EP App. No. 23155478.3, Jun. 16, 2023, 8 pages.
  • Meister et al.,
  • “
  • Parallel Locally-Ordered Clustering for Bounding Volume Hierarchy Construction
  • ”