From 4bdbc28065eaa52afc52ffd847085b32edd8054f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 31 Mar 2025 16:06:51 -0600 Subject: [PATCH] Include Kokkos headers in files that use Kokkos. --- include/deal.II/lac/precondition.h | 2 ++ include/deal.II/lac/vector_operations_internal.h | 2 ++ include/deal.II/matrix_free/portable_tensor_product_kernels.h | 3 +++ source/base/exceptions.cc | 2 ++ source/base/partitioner.cc | 2 ++ 5 files changed, 11 insertions(+) diff --git a/include/deal.II/lac/precondition.h b/include/deal.II/lac/precondition.h index c16b14a503..75a4fb153f 100644 --- a/include/deal.II/lac/precondition.h +++ b/include/deal.II/lac/precondition.h @@ -30,6 +30,8 @@ #include #include +#include + #include DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/lac/vector_operations_internal.h b/include/deal.II/lac/vector_operations_internal.h index 40817aa6ff..5d0243695b 100644 --- a/include/deal.II/lac/vector_operations_internal.h +++ b/include/deal.II/lac/vector_operations_internal.h @@ -27,6 +27,8 @@ #include +#include + #include #include diff --git a/include/deal.II/matrix_free/portable_tensor_product_kernels.h b/include/deal.II/matrix_free/portable_tensor_product_kernels.h index 802ac3efa7..0ddc281e50 100644 --- a/include/deal.II/matrix_free/portable_tensor_product_kernels.h +++ b/include/deal.II/matrix_free/portable_tensor_product_kernels.h @@ -21,6 +21,9 @@ #include #include +#include + + DEAL_II_NAMESPACE_OPEN diff --git a/source/base/exceptions.cc b/source/base/exceptions.cc index aa4399a07a..68e466d4c9 100644 --- a/source/base/exceptions.cc +++ b/source/base/exceptions.cc @@ -17,6 +17,8 @@ #include #include +#include + #include #include #include diff --git a/source/base/partitioner.cc b/source/base/partitioner.cc index d7135e62d4..554679a4b3 100644 --- a/source/base/partitioner.cc +++ b/source/base/partitioner.cc @@ -19,6 +19,8 @@ #include +#include + #include DEAL_II_NAMESPACE_OPEN -- 2.39.5