]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Change .cuh extension to .h 5736/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jan 2018 23:04:50 +0000 (18:04 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jan 2018 23:04:50 +0000 (18:04 -0500)
12 files changed:
include/deal.II/lac/cuda_atomic.h [moved from include/deal.II/lac/cuda_atomic.cuh with 98% similarity]
include/deal.II/matrix_free/cuda_fe_evaluation.h [moved from include/deal.II/matrix_free/cuda_fe_evaluation.cuh with 98% similarity]
include/deal.II/matrix_free/cuda_matrix_free.templates.h [moved from include/deal.II/matrix_free/cuda_matrix_free.templates.cuh with 99% similarity]
include/deal.II/matrix_free/cuda_tensor_product_kernels.h [moved from include/deal.II/matrix_free/cuda_tensor_product_kernels.cuh with 100% similarity]
source/lac/cuda_vector.cu
source/matrix_free/cuda_matrix_free.cu
tests/cuda/cuda_evaluate_1d_shape.cu
tests/cuda/cuda_evaluate_2d_shape.cu
tests/cuda/matrix_free_matrix_vector_01.cu
tests/cuda/matrix_free_matrix_vector_04.cu
tests/cuda/matrix_vector_common.h [moved from tests/cuda/matrix_vector_common.cuh with 99% similarity]
tests/cuda/matrix_vector_mf.h [moved from tests/cuda/matrix_vector_mf.cuh with 98% similarity]

similarity index 98%
rename from include/deal.II/lac/cuda_atomic.cuh
rename to include/deal.II/lac/cuda_atomic.h
index 4f4d0e2eafa98784e2979cda87fe2444f2c10009..7c8dfd448d7f6edd23773c94b7139f2d999d23f6 100644 (file)
@@ -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 <deal.II/base/config.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 61c47d511cfb7f36fb337c4c1a1fc8397646c4bd..e6d84290c001bfd267ef7f054a5c17a7dc7012ae 100644 (file)
 //
 // ---------------------------------------------------------------------
 
-#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 <deal.II/base/tensor.h>
 #include <deal.II/base/utilities.h>
 #include <deal.II/lac/cuda_vector.h>
 #include <deal.II/matrix_free/cuda_matrix_free.h>
-#include <deal.II/matrix_free/cuda_matrix_free.templates.cuh>
-#include <deal.II/matrix_free/cuda_tensor_product_kernels.cuh>
+#include <deal.II/matrix_free/cuda_matrix_free.templates.h>
+#include <deal.II/matrix_free/cuda_tensor_product_kernels.h>
 
 DEAL_II_NAMESPACE_OPEN
 
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 83bc19859c952312e916005f69b92ea842f98d32..ce836d4b0f2f3f2884b2b4e86f29f21ed6bc68de 100644 (file)
@@ -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 <deal.II/matrix_free/cuda_matrix_free.h>
 
index 54e6afa31d9b3d7d6c6d8fe49bfd5aaad997897c..355383bf27015db3cff2191c72dd63cb80618a08 100644 (file)
@@ -14,7 +14,7 @@
 // ---------------------------------------------------------------------
 
 #include <deal.II/lac/cuda_vector.h>
-#include <deal.II/lac/cuda_atomic.cuh>
+#include <deal.II/lac/cuda_atomic.h>
 #include <deal.II/lac/read_write_vector.h>
 #include <deal.II/base/exceptions.h>
 #include <cmath>
index 0e4fe33225eb67095c1d5b058ac6767718b6ace3..7c18c0773513524e8d6afc322e1bd823f3d8919b 100644 (file)
@@ -13,7 +13,7 @@
 //
 // ---------------------------------------------------------------------
 
-#include <deal.II/matrix_free/cuda_matrix_free.templates.cuh>
+#include <deal.II/matrix_free/cuda_matrix_free.templates.h>
 
 #ifdef DEAL_II_WITH_CUDA
 
index 19a47b582acab5c231a55b087c86b19dbb0bccda..63a25167e79a59fc2c0c173b5d54f0740eee0f51 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <deal.II/lac/cuda_vector.h>
 #include <deal.II/lac/read_write_vector.h>
-#include <deal.II/matrix_free/cuda_fe_evaluation.cuh>
+#include <deal.II/matrix_free/cuda_fe_evaluation.h>
 
 namespace CUDA = LinearAlgebra::CUDAWrappers;
 
index 8a216f2a31107bd2e3654fa680c1b5892cc08336..73078cbd82d47c9bb22d095f05fd95b37919c961 100644 (file)
@@ -26,7 +26,7 @@
 
 #include <deal.II/lac/cuda_vector.h>
 #include <deal.II/lac/read_write_vector.h>
-#include <deal.II/matrix_free/cuda_fe_evaluation.cuh>
+#include <deal.II/matrix_free/cuda_fe_evaluation.h>
 
 namespace CUDA = LinearAlgebra::CUDAWrappers;
 
index 1a32446ba380f39edc4cc680760cc32513c13dba..c9c0d1330dac2166627e28782862a2e16bbcc44a 100644 (file)
@@ -24,7 +24,7 @@
 
 std::ofstream logfile("output");
 
-#include "matrix_vector_common.cuh"
+#include "matrix_vector_common.h"
 
 
 template <int dim, int fe_degree>
index 3db14f88767aa770b5303f2a10bd1d9cc9253eff..e4b7fb75198703449ea0f1bd44bae1a88b19be3c 100644 (file)
@@ -23,7 +23,7 @@
 
 std::ofstream logfile("output");
 
-#include "matrix_vector_common.cuh"
+#include "matrix_vector_common.h"
 
 
 template <int dim, int fe_degree>
similarity index 99%
rename from tests/cuda/matrix_vector_common.cuh
rename to tests/cuda/matrix_vector_common.h
index 1af6743b521f68fd4964a43e3ecb1adcc998291d..2b5c495e8987697faf0c84c788c09eb97d3b73cb 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "../tests.h"
 
-#include "matrix_vector_mf.cuh"
+#include "matrix_vector_mf.h"
 
 #include <deal.II/base/logstream.h>
 #include <deal.II/base/utilities.h>
similarity index 98%
rename from tests/cuda/matrix_vector_mf.cuh
rename to tests/cuda/matrix_vector_mf.h
index 08c5ef40aa91cf31318cc0256bd729020316071e..ec1c13daf93b38bdaa76faf0ffe8906d592bbacf 100644 (file)
@@ -21,7 +21,7 @@
 #include "../tests.h"
 
 #include <deal.II/matrix_free/cuda_matrix_free.h>
-#include <deal.II/matrix_free/cuda_fe_evaluation.cuh>
+#include <deal.II/matrix_free/cuda_fe_evaluation.h>
 
 #include <deal.II/lac/cuda_vector.h>
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.