From: Daniel Arndt Date: Mon, 13 Mar 2023 13:13:05 +0000 (+0000) Subject: Mark more functions used in Assert as DEAL_II_HOST_DEVICE X-Git-Tag: v9.5.0-rc1~489^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6eb2b8cb3a235322267818099aed796a827e426;p=dealii.git Mark more functions used in Assert as DEAL_II_HOST_DEVICE --- 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;