Skip to content
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

Fix jit_scope issue with ordering mismatch between dict/xml and Properties #1410

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

Speierers
Copy link
Member

This patch fixes a concurrency issue occuring when loading large scenes in Mitsuba.

Currently the JIT scopes are based on the order of the objects in the dict / XML representation. On the other side, the instantiation of the objects follow the order defined by the Properties datastructure, which might differ.

This patch ensures that the JIT scopes are created in the same order as the order used to launch asynchronous instantiations of objects, and seems to fix the errors we would see on our side.

@rtabbara
Copy link
Contributor

LGTM 🚀 Thanks Sébastien!

@rtabbara rtabbara merged commit 8d48f58 into master Nov 27, 2024
5 checks passed
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