ascent icon indicating copy to clipboard operation
ascent copied to clipboard

Support conversion to single precision

Open mclarsen opened this issue 7 years ago • 3 comments

We should support this. VTKm might have evolved past the point where rectilinear grids must be float_default

mclarsen avatar Feb 16 '18 18:02 mclarsen

precision convert could be a transform filter?

cyrush avatar Sep 09 '18 06:09 cyrush

It has been a while since I wrote this, but what I think I was getting at was not to be locked into types. In the past we had to make the coordinate systems of rectilinear grids whatever the FLOAT_DEFAULT was or it would fail. Now that vtkm supports virtual coordinate systems, this is not a problem any more and we took out the static asserts.

That said, I would be generally useful to be able to convert double to float for saving space.

mclarsen avatar Sep 09 '18 14:09 mclarsen

precision conversion transform filter would be the best way to attack this.

cyrush avatar Aug 19 '24 23:08 cyrush