mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Using alignment on basic types when vtkm only targetted Linux/BSD/OSX was 'okay' because of how the alignment operators worked, but potential was going to cause issues in the long run if we failed to detect the correct size and the compiler was than forced to not use intrinsics. Now with adding windows support we have run into another problem. Basically using an alignment operator on a typedef means that the type must never be passed by value, but must always be passed by reference. The reason for this is that passing by value doesn't respect alignment requirements, and can cause very subtle errors or crashes. A really good read for people more interested in these problems: http://eigen.tuxfamily.org/dox/group__TopicPassingByValue.html http://eigen.tuxfamily.org/dox-devel/group__DenseMatrixManipulation__Alignement.html |
||
---|---|---|
CMake | ||
docs | ||
vtkm | ||
CMakeLists.txt | ||
LICENSE.txt | ||
README.md |
Welcome to vtkm design and hackathon.
Resources:
EAVL: https://github.com/jsmeredith/EAVL DAX: https://github.com/Kitware/DaxToolkit