Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dr.Jit-Core, work around Clang 14 miscompilation (issue #282)
On Clang 14, `ArrayBase::shuffle_<..>()` "forgets" to call the default constructor of the `Derived out` values. On AD variants, this causes a reference counting failure when `out.entry(..) = ` invokes the destructor of a field with uninitialized memory. Very strange. This commit works around the issue by setting `out = dr::zeros<Derived>()`. It would be good to investigate this further and potentially submit a Clang bug at some point.
- Loading branch information
Showing
9 changed files
with
74 additions
and
123 deletions.
There are no files selected for viewing
Submodule drjit-core
updated
53 files
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.