Precompute and store normals of primitives before traversal - #20
Open
Waqar-ukaea wants to merge 13 commits into
Open
Precompute and store normals of primitives before traversal#20Waqar-ukaea wants to merge 13 commits into
Waqar-ukaea wants to merge 13 commits into
Conversation
- New CuBQLRayTracer class with working create_surface_tree and basic ray queries - Updated plucker_ray_tri intersect to play nice with openmp target offload regions - Implemented new structs for cuBQL BVH objects with XDG data - Implemented mixed precision BVH traversal algorithm for cuBQL - Updated appropriate constants with new cuBQL specifics - Ensured cuBQL properly wired through to xdg public API
…ueries at runtime in xdg
Waqar-ukaea
force-pushed
the
cuBQL-backend
branch
from
July 31, 2026 16:16
5ae4ca0 to
e0a4bdf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a branch where I was playing around with pre-computing normals in FP32 and storing them on mesh data objects transferred to device to avoid the cost of doing the FP64 cross product for each candidate primitive. I'll use this internal PR to document my efforts to measure performance and robustness of this.
Already initial testing has shown between a 6-7% increase in rays/sec whilst running my throughout benchmark but I need to ensure the robustness is still reasonable too.