GPU Performance API (GPUPerfAPI) is a powerful library providing access to GPU Performance Counters to help analyze the performance and characteristics of applications using a Radeon GPU.
GPUPerfAPI v3.11 adds support for raytracing counters in Vulkan on RDNA2 (Radeon RX 6000 Series) hardware:
- RayTriTests, and RayBoxTests: These counters collect the number of ray intersections for triangles and boxes, respectively.
- TotalRayTests: This counter collects the aggregated number of ray-box and ray-triangle intersection tests.
- RayTestsPerWave: This counter collects ray intersection test count at a more granular level – per wave.