744d97229f
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