Skip to content

Shader Execution Reordering #145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Shader Execution Reordering #145

wants to merge 3 commits into from

Conversation

njroussel
Copy link
Member

This PR adds support for Shader Execution Reordering (SER) in OptiX ray tracing calls (jit_optix_ray_trace()). It also adds an explicit reodering function if the user wants to reorder threads based on a key that does not involve any ray intersection information: jit_optix_reorder.

The SER functionality can be completely turned off with a new ShaderExecutionReordering JIT flag.

No new tests were added. The triangle test was updated to correctly adopt the new ray tracing interface.

njroussel added 2 commits May 19, 2025 09:38
This is a general purpose reordering trigger - it's not tied to any ray intersection operations
@wjakob
Copy link
Member

wjakob commented May 20, 2025

LGTM!

@wjakob
Copy link
Member

wjakob commented May 20, 2025

(Thank you for your hard work, the implementation and description looks very polished.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants