From f3cb25de1153ab791efa4f5e264d6f488281510e Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 15 Aug 2017 17:20:01 +0200 Subject: [PATCH] Clean up CUDA related files --- include/deal.II/matrix_free/cuda_fe_evaluation.cuh | 2 +- ...matrix_free.templates.h => cuda_matrix_free.templates.cuh} | 4 ++-- source/matrix_free/cuda_matrix_free.cu | 2 +- tests/cuda/matrix_vector_common.cuh | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) rename include/deal.II/matrix_free/{cuda_matrix_free.templates.h => cuda_matrix_free.templates.cuh} (99%) diff --git a/include/deal.II/matrix_free/cuda_fe_evaluation.cuh b/include/deal.II/matrix_free/cuda_fe_evaluation.cuh index 1a3593a44c..61c47d511c 100644 --- a/include/deal.II/matrix_free/cuda_fe_evaluation.cuh +++ b/include/deal.II/matrix_free/cuda_fe_evaluation.cuh @@ -20,7 +20,7 @@ #include #include #include -#include +#include #include DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/matrix_free/cuda_matrix_free.templates.h b/include/deal.II/matrix_free/cuda_matrix_free.templates.cuh similarity index 99% rename from include/deal.II/matrix_free/cuda_matrix_free.templates.h rename to include/deal.II/matrix_free/cuda_matrix_free.templates.cuh index 499745e8a1..cbf9f66a17 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.templates.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.templates.cuh @@ -14,8 +14,8 @@ // --------------------------------------------------------------------- -#ifndef dealii_cuda_matrix_free_templates_h -#define dealii_cuda_matrix_free_templates_h +#ifndef dealii__cuda_matrix_free_templates_cuh +#define dealii__cuda_matrix_free_templates_cuh #include diff --git a/source/matrix_free/cuda_matrix_free.cu b/source/matrix_free/cuda_matrix_free.cu index 7c18c07735..0e4fe33225 100644 --- a/source/matrix_free/cuda_matrix_free.cu +++ b/source/matrix_free/cuda_matrix_free.cu @@ -13,7 +13,7 @@ // // --------------------------------------------------------------------- -#include +#include #ifdef DEAL_II_WITH_CUDA diff --git a/tests/cuda/matrix_vector_common.cuh b/tests/cuda/matrix_vector_common.cuh index 7a93226338..1af6743b52 100644 --- a/tests/cuda/matrix_vector_common.cuh +++ b/tests/cuda/matrix_vector_common.cuh @@ -156,7 +156,6 @@ int main() deallog << std::setprecision (3); { - deallog.threshold_double(5.e-11); deallog.push("2d"); test<2,1>(); test<2,2>(); -- 2.39.5