You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating the geometry of the scene and using constant emitter, the jit kernels will be recompiled. Swapping to e.g. spot emitter will not recompile the kernel, as expected. Here's a sample repro and diff of the kernels. I'm not 100% certain if this is caused strictly by changing the geometry, but changing e.g. bsdf reflectance data does not result in different kernel.
Thanks for the report and investigation. Could these values correspond to floats related to the scene's bounding sphere radius and center? They seem to be computed as scalar quantities in constant.cpp.
Summary
When updating the geometry of the scene and using
constant
emitter, the jit kernels will be recompiled. Swapping to e.g.spot
emitter will not recompile the kernel, as expected. Here's a sample repro and diff of the kernels. I'm not 100% certain if this is caused strictly by changing the geometry, but changing e.g. bsdf reflectance data does not result in different kernel.The kernel PTX is identical except for 3 values (addresses?) inside of VCall
Emitter::sample_direction
:System configuration
System information:
OS: Debian
CPU: x86_64
GPU: RTX 4090
Python version: 3.11
CUDA version: 12.0
NVidia driver: 525.147.05
The text was updated successfully, but these errors were encountered: