Go to the documentation of this file.
49 #ifndef Intrepid2_DeviceAssert_h
50 #define Intrepid2_DeviceAssert_h
52 #include <Kokkos_Core_fwd.hpp>
53 #include <impl/Kokkos_Error.hpp>
60 #define device_assert( v ) ((void)0)
64 KOKKOS_INLINE_FUNCTION
65 void device_assert(
bool val) {
67 #ifdef KOKKOS_ENABLE_CUDA
68 Kokkos::abort(
"ASSERT IN CUDA CALL, SHOULD ABORT\n");