Make VTKM_ASSERT_CONT gracefully ignore CUDA devices
There are often instances where one wants to make an assert check in a method that can run in either the control or execution environment. This is rather difficult in general for the execution environment, but with this change you can place the VTKM_ASSERT_CONT macro in such a method, and it should compile even under CUDA. It works by removing the macro if compiling for a CUDA device.
Showing with 13 additions and 2 deletions