From f6a422e2ba5cfdf4131efa1375fa24d223e45ed5 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Mon, 15 Jan 2018 18:04:50 -0500 Subject: [PATCH] Change .cuh extension to .h --- include/deal.II/lac/{cuda_atomic.cuh => cuda_atomic.h} | 4 ++-- .../{cuda_fe_evaluation.cuh => cuda_fe_evaluation.h} | 8 ++++---- ...ix_free.templates.cuh => cuda_matrix_free.templates.h} | 4 ++-- ..._product_kernels.cuh => cuda_tensor_product_kernels.h} | 0 source/lac/cuda_vector.cu | 2 +- source/matrix_free/cuda_matrix_free.cu | 2 +- tests/cuda/cuda_evaluate_1d_shape.cu | 2 +- tests/cuda/cuda_evaluate_2d_shape.cu | 2 +- tests/cuda/matrix_free_matrix_vector_01.cu | 2 +- tests/cuda/matrix_free_matrix_vector_04.cu | 2 +- .../{matrix_vector_common.cuh => matrix_vector_common.h} | 2 +- tests/cuda/{matrix_vector_mf.cuh => matrix_vector_mf.h} | 2 +- 12 files changed, 16 insertions(+), 16 deletions(-) rename include/deal.II/lac/{cuda_atomic.cuh => cuda_atomic.h} (98%) rename include/deal.II/matrix_free/{cuda_fe_evaluation.cuh => cuda_fe_evaluation.h} (98%) rename include/deal.II/matrix_free/{cuda_matrix_free.templates.cuh => cuda_matrix_free.templates.h} (99%) rename include/deal.II/matrix_free/{cuda_tensor_product_kernels.cuh => cuda_tensor_product_kernels.h} (100%) rename tests/cuda/{matrix_vector_common.cuh => matrix_vector_common.h} (99%) rename tests/cuda/{matrix_vector_mf.cuh => matrix_vector_mf.h} (98%) diff --git a/include/deal.II/lac/cuda_atomic.cuh b/include/deal.II/lac/cuda_atomic.h similarity index 98% rename from include/deal.II/lac/cuda_atomic.cuh rename to include/deal.II/lac/cuda_atomic.h index 4f4d0e2eaf..7c8dfd448d 100644 --- a/include/deal.II/lac/cuda_atomic.cuh +++ b/include/deal.II/lac/cuda_atomic.h @@ -13,8 +13,8 @@ // // --------------------------------------------------------------------- -#ifndef dealii_cuda_atomic_cuh -#define dealii_cuda_atomic_cuh +#ifndef dealii_cuda_atomic_h +#define dealii_cuda_atomic_h #include diff --git a/include/deal.II/matrix_free/cuda_fe_evaluation.cuh b/include/deal.II/matrix_free/cuda_fe_evaluation.h similarity index 98% rename from include/deal.II/matrix_free/cuda_fe_evaluation.cuh rename to include/deal.II/matrix_free/cuda_fe_evaluation.h index 61c47d511c..e6d84290c0 100644 --- a/include/deal.II/matrix_free/cuda_fe_evaluation.cuh +++ b/include/deal.II/matrix_free/cuda_fe_evaluation.h @@ -13,15 +13,15 @@ // // --------------------------------------------------------------------- -#ifndef dealii_cuda_fe_evaluation_cuh -#define dealii_cuda_fe_evaluation_cuh +#ifndef dealii_cuda_fe_evaluation_h +#define dealii_cuda_fe_evaluation_h #include #include #include #include -#include -#include +#include +#include DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/matrix_free/cuda_matrix_free.templates.cuh b/include/deal.II/matrix_free/cuda_matrix_free.templates.h similarity index 99% rename from include/deal.II/matrix_free/cuda_matrix_free.templates.cuh rename to include/deal.II/matrix_free/cuda_matrix_free.templates.h index 83bc19859c..ce836d4b0f 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.templates.cuh +++ b/include/deal.II/matrix_free/cuda_matrix_free.templates.h @@ -14,8 +14,8 @@ // --------------------------------------------------------------------- -#ifndef dealii_cuda_matrix_free_templates_cuh -#define dealii_cuda_matrix_free_templates_cuh +#ifndef dealii_cuda_matrix_free_templates_h +#define dealii_cuda_matrix_free_templates_h #include diff --git a/include/deal.II/matrix_free/cuda_tensor_product_kernels.cuh b/include/deal.II/matrix_free/cuda_tensor_product_kernels.h similarity index 100% rename from include/deal.II/matrix_free/cuda_tensor_product_kernels.cuh rename to include/deal.II/matrix_free/cuda_tensor_product_kernels.h diff --git a/source/lac/cuda_vector.cu b/source/lac/cuda_vector.cu index 54e6afa31d..355383bf27 100644 --- a/source/lac/cuda_vector.cu +++ b/source/lac/cuda_vector.cu @@ -14,7 +14,7 @@ // --------------------------------------------------------------------- #include -#include +#include #include #include #include diff --git a/source/matrix_free/cuda_matrix_free.cu b/source/matrix_free/cuda_matrix_free.cu index 0e4fe33225..7c18c07735 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/cuda_evaluate_1d_shape.cu b/tests/cuda/cuda_evaluate_1d_shape.cu index 19a47b582a..63a25167e7 100644 --- a/tests/cuda/cuda_evaluate_1d_shape.cu +++ b/tests/cuda/cuda_evaluate_1d_shape.cu @@ -26,7 +26,7 @@ #include #include -#include +#include namespace CUDA = LinearAlgebra::CUDAWrappers; diff --git a/tests/cuda/cuda_evaluate_2d_shape.cu b/tests/cuda/cuda_evaluate_2d_shape.cu index 8a216f2a31..73078cbd82 100644 --- a/tests/cuda/cuda_evaluate_2d_shape.cu +++ b/tests/cuda/cuda_evaluate_2d_shape.cu @@ -26,7 +26,7 @@ #include #include -#include +#include namespace CUDA = LinearAlgebra::CUDAWrappers; diff --git a/tests/cuda/matrix_free_matrix_vector_01.cu b/tests/cuda/matrix_free_matrix_vector_01.cu index 1a32446ba3..c9c0d1330d 100644 --- a/tests/cuda/matrix_free_matrix_vector_01.cu +++ b/tests/cuda/matrix_free_matrix_vector_01.cu @@ -24,7 +24,7 @@ std::ofstream logfile("output"); -#include "matrix_vector_common.cuh" +#include "matrix_vector_common.h" template diff --git a/tests/cuda/matrix_free_matrix_vector_04.cu b/tests/cuda/matrix_free_matrix_vector_04.cu index 3db14f8876..e4b7fb7519 100644 --- a/tests/cuda/matrix_free_matrix_vector_04.cu +++ b/tests/cuda/matrix_free_matrix_vector_04.cu @@ -23,7 +23,7 @@ std::ofstream logfile("output"); -#include "matrix_vector_common.cuh" +#include "matrix_vector_common.h" template diff --git a/tests/cuda/matrix_vector_common.cuh b/tests/cuda/matrix_vector_common.h similarity index 99% rename from tests/cuda/matrix_vector_common.cuh rename to tests/cuda/matrix_vector_common.h index 1af6743b52..2b5c495e89 100644 --- a/tests/cuda/matrix_vector_common.cuh +++ b/tests/cuda/matrix_vector_common.h @@ -20,7 +20,7 @@ #include "../tests.h" -#include "matrix_vector_mf.cuh" +#include "matrix_vector_mf.h" #include #include diff --git a/tests/cuda/matrix_vector_mf.cuh b/tests/cuda/matrix_vector_mf.h similarity index 98% rename from tests/cuda/matrix_vector_mf.cuh rename to tests/cuda/matrix_vector_mf.h index 08c5ef40aa..ec1c13daf9 100644 --- a/tests/cuda/matrix_vector_mf.cuh +++ b/tests/cuda/matrix_vector_mf.h @@ -21,7 +21,7 @@ #include "../tests.h" #include -#include +#include #include -- 2.39.5