Skip to content

Draft: Test variant arguments to worklets

Kenneth Moreland requested to merge kmorel/vtk-m:test-worklet-variant into master

Add a regression test for passing a variant as an argument to a worklet. Variants are tricky objects, and the compiler might make some strange assumptions during optimization.

One case that popped up in particular was when a variant contained two objects with the same sizeof but the first object had padding. When the variant contained the second object, the value under the padded part of the first object was not set.

Merge request reports

Loading