Skip to content
  • Kenneth Moreland's avatar
    Make VTKM_ASSERT_CONT gracefully ignore CUDA devices · c9f6628c
    Kenneth Moreland authored
    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.
    c9f6628c