15#ifndef Intrepid2_DeviceAssert_h
16#define Intrepid2_DeviceAssert_h
18#include <Kokkos_Core_fwd.hpp>
19#include <impl/Kokkos_Error.hpp>
26#define device_assert( v ) ((void)0)
30 KOKKOS_INLINE_FUNCTION
34#if defined(KOKKOS_ENABLE_CUDA) || defined(KOKKOS_ENABLE_HIP)
35 Kokkos::abort(
"ASSERT IN CUDA CALL, SHOULD ABORT\n");
KOKKOS_INLINE_FUNCTION void device_assert(bool val)