mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Previously, VTKM_DEVICE_ADAPTER_UNDEFINED and VTKM_ARRAY_CONTAINER_CONTROL_UNDEFINED were set to 0. The problem is that if someone set VTKM_DEVICE_ADAPTER or VTKM_ARRAY_CONTAINER_CONTROL to something invalid, that would test positive when compared to 0. Thus, you get an error about not defining the default when in fact the problem is setting an invalid flag. This change makes the undefined constants -1 so that the comparison will fail unless the macro is actually properly set. |
||
---|---|---|
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