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
68#if defined(KOKKOS_ENABLE_CUDA) || defined(KOKKOS_ENABLE_HIP)
69 Kokkos::abort(
"ASSERT IN CUDA CALL, SHOULD ABORT\n");
KOKKOS_INLINE_FUNCTION void device_assert(bool val)