Go to the documentation of this file.
   11 #ifndef vtk_m_Assert_h 
   12 #define vtk_m_Assert_h 
   14 #include <vtkm/internal/Configure.h> 
   19 #ifndef VTKM_NO_ASSERT 
   21 #define VTKM_NO_ASSERT 
   22 #elif defined(VTKM_CUDA_DEVICE_PASS) && defined(VTKM_NO_ASSERT_CUDA) 
   23 #define VTKM_NO_ASSERT 
   24 #elif defined(VTKM_HIP) && defined(VTKM_NO_ASSERT_HIP) 
   25 #define VTKM_NO_ASSERT 
   27 #endif // VTKM_NO_ASSERT 
   42 #ifndef VTKM_NO_ASSERT 
   43 #define VTKM_ASSERT(condition) assert(condition) 
   44 #define VTKM_ASSERTS_CHECKED 
   46 #define VTKM_ASSERT(condition) (void)(condition) 
   49 #endif //vtk_m_Assert_h