From d6eb2b8cb3a235322267818099aed796a827e426 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 13 Mar 2023 13:13:05 +0000 Subject: [PATCH] Mark more functions used in Assert as DEAL_II_HOST_DEVICE --- include/deal.II/base/exceptions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index f8e184a158..72aca8fa69 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -1712,7 +1712,7 @@ namespace deal_II_exceptions * different types (e.g., unsigned and signed variables). */ template - inline constexpr bool + inline DEAL_II_HOST_DEVICE constexpr bool compare_for_equality(const T &t, const U &u) { using common_type = std::common_type_t; @@ -1726,7 +1726,7 @@ namespace deal_II_exceptions * different types (e.g., unsigned and signed variables). */ template - inline constexpr bool + inline DEAL_II_HOST_DEVICE constexpr bool compare_less_than(const T &t, const U &u) { using common_type = std::common_type_t; -- 2.39.5