Skip to content

ClipWithField: Use primive types in instantiations

Follow-up: !2313 (merged)

Needed for: vtk!7390 (merged)

vtkm::[U]Int* types depending of each platform/arch would translate to different integer types. We cannot make a generalization with this.

A simple way to handle this is to simply use primitive types, such as char, signed char, long..., instead of vtkm::[U]Int*. This makes sure that every primitive type is actually instantiated.

We could potentially use this in other filters instantiation file.

This error has been reported in VTK when being build with vtkm.

Merge request reports