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
Not super clear which workaround can be used.
This probably requires to start from a minimal version of the path_tracer with only 1 std::variant and experiment with the workarounds.
Rewrite the code in a more functional way, like replacing hit(material_t&) -> bool by hit(material_t) -> material_t and just testing if the returned value is not the std::monostate
The text was updated successfully, but these errors were encountered:
It looks like the current
std::variant
use causes some HLS breakage https://jira.xilinx.com/browse/CR-1093830Not super clear which workaround can be used.
This probably requires to start from a minimal version of the
path_tracer
with only 1std::variant
and experiment with the workarounds.std::variant
does not fix the issue by avoiding casting from uninitialized value at the first place.Not even sure it will work if we do not have only 1 top level variable like https://github.com/triSYCL/path_tracer/blob/main/include/render.hpp#L33
It will be probably super slow.
hit(material_t&) -> bool
byhit(material_t) -> material_t
and just testing if the returned value is not thestd::monostate
The text was updated successfully, but these errors were encountered: