From: Daniel Arndt Date: Fri, 28 Oct 2022 13:21:24 +0000 (-0400) Subject: Move *.cu to *.cc files X-Git-Tag: v9.5.0-rc1~854^2~8 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6daea4acdcd4ae96b18718c9044573b81b8bd818;p=dealii.git Move *.cu to *.cc files --- diff --git a/cmake/macros/macro_deal_ii_add_test.cmake b/cmake/macros/macro_deal_ii_add_test.cmake index 00e68df10c..1cd35c2e20 100644 --- a/cmake/macros/macro_deal_ii_add_test.cmake +++ b/cmake/macros/macro_deal_ii_add_test.cmake @@ -414,8 +414,6 @@ FUNCTION(DEAL_II_ADD_TEST _category _test_name _comparison_file) ${CMAKE_CURRENT_BINARY_DIR}/${_target_short}/interrupt_guard.cc ) - set_source_files_properties(${_source_file} PROPERTIES LANGUAGE CXX) - SET_TARGET_PROPERTIES(${_target} PROPERTIES OUTPUT_NAME ${_target_short}) DEAL_II_SETUP_TARGET(${_target} ${_build}) diff --git a/examples/step-64/CMakeLists.txt b/examples/step-64/CMakeLists.txt index 7ba67286a0..b133b03014 100644 --- a/examples/step-64/CMakeLists.txt +++ b/examples/step-64/CMakeLists.txt @@ -16,7 +16,7 @@ SET(TARGET "step-64") # in the "CMake in user projects" page accessible from the "User info" # page of the documentation. SET(TARGET_SRC - ${TARGET}.cu + ${TARGET}.cc ) # Usually, you will not need to modify anything beyond this point... diff --git a/source/base/CMakeLists.txt b/source/base/CMakeLists.txt index a174c93ac6..c94f3efa19 100644 --- a/source/base/CMakeLists.txt +++ b/source/base/CMakeLists.txt @@ -114,11 +114,9 @@ SET(_separate_src IF(DEAL_II_WITH_CUDA) SET(_separate_src ${_separate_src} - cuda.cu - partitioner.cu + cuda.cc + partitioner_cuda.cc ) - set_source_files_properties(cuda.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(partitioner.cu PROPERTIES LANGUAGE CXX) ENDIF() # determined by profiling diff --git a/source/base/cuda.cu b/source/base/cuda.cc similarity index 100% rename from source/base/cuda.cu rename to source/base/cuda.cc diff --git a/source/base/partitioner.cu b/source/base/partitioner_cuda.cc similarity index 100% rename from source/base/partitioner.cu rename to source/base/partitioner_cuda.cc diff --git a/source/lac/CMakeLists.txt b/source/lac/CMakeLists.txt index 342e0a234a..57373d13d1 100644 --- a/source/lac/CMakeLists.txt +++ b/source/lac/CMakeLists.txt @@ -64,11 +64,9 @@ SET(_separate_src IF(DEAL_II_WITH_CUDA) SET(_separate_src ${_separate_src} - vector_memory.cu - affine_constraints.cu + vector_memory_cuda.cc + affine_constraints_cuda.cc ) - set_source_files_properties(vector_memory.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(affine_constraints.cu PROPERTIES LANGUAGE CXX) ENDIF() SET(_inst @@ -165,21 +163,14 @@ ENDIF() IF(DEAL_II_WITH_CUDA) SET(_separate_src ${_separate_src} - cuda_kernels.cu - cuda_precondition.cu - cuda_solver_direct.cu - cuda_sparse_matrix.cu - cuda_vector.cu - la_parallel_vector.cu - read_write_vector.cu + cuda_kernels.cc + cuda_precondition.cc + cuda_solver_direct.cc + cuda_sparse_matrix.cc + cuda_vector.cc + la_parallel_vector_cuda.cc + read_write_vector_cuda.cc ) - set_source_files_properties(cuda_kernels.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(cuda_precondition.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(cuda_solver_direct.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(cuda_sparse_matrix.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(cuda_vector.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(la_parallel_vector.cu PROPERTIES LANGUAGE CXX) - set_source_files_properties(read_write_vector.cu PROPERTIES LANGUAGE CXX) ENDIF() # determined by profiling diff --git a/source/lac/affine_constraints.cu b/source/lac/affine_constraints_cuda.cc similarity index 100% rename from source/lac/affine_constraints.cu rename to source/lac/affine_constraints_cuda.cc diff --git a/source/lac/cuda_kernels.cu b/source/lac/cuda_kernels.cc similarity index 100% rename from source/lac/cuda_kernels.cu rename to source/lac/cuda_kernels.cc diff --git a/source/lac/cuda_precondition.cu b/source/lac/cuda_precondition.cc similarity index 100% rename from source/lac/cuda_precondition.cu rename to source/lac/cuda_precondition.cc diff --git a/source/lac/cuda_solver_direct.cu b/source/lac/cuda_solver_direct.cc similarity index 100% rename from source/lac/cuda_solver_direct.cu rename to source/lac/cuda_solver_direct.cc diff --git a/source/lac/cuda_sparse_matrix.cu b/source/lac/cuda_sparse_matrix.cc similarity index 100% rename from source/lac/cuda_sparse_matrix.cu rename to source/lac/cuda_sparse_matrix.cc diff --git a/source/lac/cuda_vector.cu b/source/lac/cuda_vector.cc similarity index 100% rename from source/lac/cuda_vector.cu rename to source/lac/cuda_vector.cc diff --git a/source/lac/la_parallel_vector.cu b/source/lac/la_parallel_vector_cuda.cc similarity index 100% rename from source/lac/la_parallel_vector.cu rename to source/lac/la_parallel_vector_cuda.cc diff --git a/source/lac/read_write_vector.cu b/source/lac/read_write_vector_cuda.cc similarity index 100% rename from source/lac/read_write_vector.cu rename to source/lac/read_write_vector_cuda.cc diff --git a/source/lac/vector_memory.cu b/source/lac/vector_memory_cuda.cc similarity index 100% rename from source/lac/vector_memory.cu rename to source/lac/vector_memory_cuda.cc diff --git a/source/matrix_free/CMakeLists.txt b/source/matrix_free/CMakeLists.txt index f4fde2f6ff..511a4c6fd9 100644 --- a/source/matrix_free/CMakeLists.txt +++ b/source/matrix_free/CMakeLists.txt @@ -56,14 +56,12 @@ FILE(GLOB _header IF(DEAL_II_WITH_CUDA) SET(_src - cuda_matrix_free.cu + cuda_matrix_free.cc ${_src} ) SET(_inst ${_inst} ) - - set_source_files_properties(cuda_matrix_free.cu PROPERTIES LANGUAGE CXX) ENDIF() DEAL_II_ADD_LIBRARY(obj_matrix_free OBJECT ${_src} ${_header} ${_inst}) diff --git a/source/matrix_free/cuda_matrix_free.cu b/source/matrix_free/cuda_matrix_free.cc similarity index 100% rename from source/matrix_free/cuda_matrix_free.cu rename to source/matrix_free/cuda_matrix_free.cc diff --git a/tests/cuda/affine_constraints_set_zero.cu b/tests/cuda/affine_constraints_set_zero.cc similarity index 100% rename from tests/cuda/affine_constraints_set_zero.cu rename to tests/cuda/affine_constraints_set_zero.cc diff --git a/tests/cuda/array_view_access_data.cu b/tests/cuda/array_view_access_data.cc similarity index 100% rename from tests/cuda/array_view_access_data.cu rename to tests/cuda/array_view_access_data.cc diff --git a/tests/cuda/array_view_wrong_memory.cu b/tests/cuda/array_view_wrong_memory.cc similarity index 100% rename from tests/cuda/array_view_wrong_memory.cu rename to tests/cuda/array_view_wrong_memory.cc diff --git a/tests/cuda/coefficient_eval.cu b/tests/cuda/coefficient_eval.cc similarity index 100% rename from tests/cuda/coefficient_eval.cu rename to tests/cuda/coefficient_eval.cc diff --git a/tests/cuda/cuda_evaluate_1d_shape.cu b/tests/cuda/cuda_evaluate_1d_shape.cc similarity index 100% rename from tests/cuda/cuda_evaluate_1d_shape.cu rename to tests/cuda/cuda_evaluate_1d_shape.cc diff --git a/tests/cuda/cuda_evaluate_2d_shape.cu b/tests/cuda/cuda_evaluate_2d_shape.cc similarity index 100% rename from tests/cuda/cuda_evaluate_2d_shape.cu rename to tests/cuda/cuda_evaluate_2d_shape.cc diff --git a/tests/cuda/cuda_point.cu b/tests/cuda/cuda_point.cc similarity index 100% rename from tests/cuda/cuda_point.cu rename to tests/cuda/cuda_point.cc diff --git a/tests/cuda/cuda_tensor_01.cu b/tests/cuda/cuda_tensor_01.cc similarity index 100% rename from tests/cuda/cuda_tensor_01.cu rename to tests/cuda/cuda_tensor_01.cc diff --git a/tests/cuda/cuda_tensor_02.cu b/tests/cuda/cuda_tensor_02.cc similarity index 100% rename from tests/cuda/cuda_tensor_02.cu rename to tests/cuda/cuda_tensor_02.cc diff --git a/tests/cuda/cuda_vector_01.cu b/tests/cuda/cuda_vector_01.cc similarity index 100% rename from tests/cuda/cuda_vector_01.cu rename to tests/cuda/cuda_vector_01.cc diff --git a/tests/cuda/cuda_vector_02.cu b/tests/cuda/cuda_vector_02.cc similarity index 100% rename from tests/cuda/cuda_vector_02.cu rename to tests/cuda/cuda_vector_02.cc diff --git a/tests/cuda/cuda_vector_03.cu b/tests/cuda/cuda_vector_03.cc similarity index 100% rename from tests/cuda/cuda_vector_03.cu rename to tests/cuda/cuda_vector_03.cc diff --git a/tests/cuda/cuda_vector_04.cu b/tests/cuda/cuda_vector_04.cc similarity index 100% rename from tests/cuda/cuda_vector_04.cu rename to tests/cuda/cuda_vector_04.cc diff --git a/tests/cuda/cuda_vector_05.cu b/tests/cuda/cuda_vector_05.cc similarity index 100% rename from tests/cuda/cuda_vector_05.cu rename to tests/cuda/cuda_vector_05.cc diff --git a/tests/cuda/matrix_free_initialize_vector.cu b/tests/cuda/matrix_free_initialize_vector.cc similarity index 100% rename from tests/cuda/matrix_free_initialize_vector.cu rename to tests/cuda/matrix_free_initialize_vector.cc diff --git a/tests/cuda/matrix_free_matrix_vector_01.cu b/tests/cuda/matrix_free_matrix_vector_01.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_01.cu rename to tests/cuda/matrix_free_matrix_vector_01.cc diff --git a/tests/cuda/matrix_free_matrix_vector_02.cu b/tests/cuda/matrix_free_matrix_vector_02.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_02.cu rename to tests/cuda/matrix_free_matrix_vector_02.cc diff --git a/tests/cuda/matrix_free_matrix_vector_03.cu b/tests/cuda/matrix_free_matrix_vector_03.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_03.cu rename to tests/cuda/matrix_free_matrix_vector_03.cc diff --git a/tests/cuda/matrix_free_matrix_vector_03b.cu b/tests/cuda/matrix_free_matrix_vector_03b.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_03b.cu rename to tests/cuda/matrix_free_matrix_vector_03b.cc diff --git a/tests/cuda/matrix_free_matrix_vector_04.cu b/tests/cuda/matrix_free_matrix_vector_04.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_04.cu rename to tests/cuda/matrix_free_matrix_vector_04.cc diff --git a/tests/cuda/matrix_free_matrix_vector_05.cu b/tests/cuda/matrix_free_matrix_vector_05.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_05.cu rename to tests/cuda/matrix_free_matrix_vector_05.cc diff --git a/tests/cuda/matrix_free_matrix_vector_06.cu b/tests/cuda/matrix_free_matrix_vector_06.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_06.cu rename to tests/cuda/matrix_free_matrix_vector_06.cc diff --git a/tests/cuda/matrix_free_matrix_vector_06a.cu b/tests/cuda/matrix_free_matrix_vector_06a.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_06a.cu rename to tests/cuda/matrix_free_matrix_vector_06a.cc diff --git a/tests/cuda/matrix_free_matrix_vector_06b.cu b/tests/cuda/matrix_free_matrix_vector_06b.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_06b.cu rename to tests/cuda/matrix_free_matrix_vector_06b.cc diff --git a/tests/cuda/matrix_free_matrix_vector_09.cu b/tests/cuda/matrix_free_matrix_vector_09.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_09.cu rename to tests/cuda/matrix_free_matrix_vector_09.cc diff --git a/tests/cuda/matrix_free_matrix_vector_10.cu b/tests/cuda/matrix_free_matrix_vector_10.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_10.cu rename to tests/cuda/matrix_free_matrix_vector_10.cc diff --git a/tests/cuda/matrix_free_matrix_vector_10a.cu b/tests/cuda/matrix_free_matrix_vector_10a.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_10a.cu rename to tests/cuda/matrix_free_matrix_vector_10a.cc diff --git a/tests/cuda/matrix_free_matrix_vector_19.cu b/tests/cuda/matrix_free_matrix_vector_19.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_19.cu rename to tests/cuda/matrix_free_matrix_vector_19.cc diff --git a/tests/cuda/matrix_free_matrix_vector_25.cu b/tests/cuda/matrix_free_matrix_vector_25.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_25.cu rename to tests/cuda/matrix_free_matrix_vector_25.cc diff --git a/tests/cuda/matrix_free_matrix_vector_26.cu b/tests/cuda/matrix_free_matrix_vector_26.cc similarity index 100% rename from tests/cuda/matrix_free_matrix_vector_26.cu rename to tests/cuda/matrix_free_matrix_vector_26.cc diff --git a/tests/cuda/matrix_free_multiple_objects.cu b/tests/cuda/matrix_free_multiple_objects.cc similarity index 100% rename from tests/cuda/matrix_free_multiple_objects.cu rename to tests/cuda/matrix_free_multiple_objects.cc diff --git a/tests/cuda/matrix_free_no_index_initialize.cu b/tests/cuda/matrix_free_no_index_initialize.cc similarity index 100% rename from tests/cuda/matrix_free_no_index_initialize.cu rename to tests/cuda/matrix_free_no_index_initialize.cc diff --git a/tests/cuda/matrix_free_reinit_01.cu b/tests/cuda/matrix_free_reinit_01.cc similarity index 100% rename from tests/cuda/matrix_free_reinit_01.cu rename to tests/cuda/matrix_free_reinit_01.cc diff --git a/tests/cuda/parallel_partitioner_06.cu b/tests/cuda/parallel_partitioner_06.cc similarity index 100% rename from tests/cuda/parallel_partitioner_06.cu rename to tests/cuda/parallel_partitioner_06.cc diff --git a/tests/cuda/parallel_partitioner_07.cu b/tests/cuda/parallel_partitioner_07.cc similarity index 100% rename from tests/cuda/parallel_partitioner_07.cu rename to tests/cuda/parallel_partitioner_07.cc diff --git a/tests/cuda/parallel_partitioner_08.cu b/tests/cuda/parallel_partitioner_08.cc similarity index 100% rename from tests/cuda/parallel_partitioner_08.cu rename to tests/cuda/parallel_partitioner_08.cc diff --git a/tests/cuda/parallel_vector_01.cu b/tests/cuda/parallel_vector_01.cc similarity index 100% rename from tests/cuda/parallel_vector_01.cu rename to tests/cuda/parallel_vector_01.cc diff --git a/tests/cuda/parallel_vector_02.cu b/tests/cuda/parallel_vector_02.cc similarity index 100% rename from tests/cuda/parallel_vector_02.cu rename to tests/cuda/parallel_vector_02.cc diff --git a/tests/cuda/parallel_vector_03.cu b/tests/cuda/parallel_vector_03.cc similarity index 100% rename from tests/cuda/parallel_vector_03.cu rename to tests/cuda/parallel_vector_03.cc diff --git a/tests/cuda/parallel_vector_03a.cu b/tests/cuda/parallel_vector_03a.cc similarity index 100% rename from tests/cuda/parallel_vector_03a.cu rename to tests/cuda/parallel_vector_03a.cc diff --git a/tests/cuda/parallel_vector_04.cu b/tests/cuda/parallel_vector_04.cc similarity index 100% rename from tests/cuda/parallel_vector_04.cu rename to tests/cuda/parallel_vector_04.cc diff --git a/tests/cuda/parallel_vector_05.cu b/tests/cuda/parallel_vector_05.cc similarity index 100% rename from tests/cuda/parallel_vector_05.cu rename to tests/cuda/parallel_vector_05.cc diff --git a/tests/cuda/parallel_vector_06.cu b/tests/cuda/parallel_vector_06.cc similarity index 100% rename from tests/cuda/parallel_vector_06.cu rename to tests/cuda/parallel_vector_06.cc diff --git a/tests/cuda/parallel_vector_08.cu b/tests/cuda/parallel_vector_08.cc similarity index 100% rename from tests/cuda/parallel_vector_08.cu rename to tests/cuda/parallel_vector_08.cc diff --git a/tests/cuda/parallel_vector_10.cu b/tests/cuda/parallel_vector_10.cc similarity index 100% rename from tests/cuda/parallel_vector_10.cu rename to tests/cuda/parallel_vector_10.cc diff --git a/tests/cuda/parallel_vector_11.cu b/tests/cuda/parallel_vector_11.cc similarity index 100% rename from tests/cuda/parallel_vector_11.cu rename to tests/cuda/parallel_vector_11.cc diff --git a/tests/cuda/parallel_vector_12.cu b/tests/cuda/parallel_vector_12.cc similarity index 100% rename from tests/cuda/parallel_vector_12.cu rename to tests/cuda/parallel_vector_12.cc diff --git a/tests/cuda/parallel_vector_13.cu b/tests/cuda/parallel_vector_13.cc similarity index 100% rename from tests/cuda/parallel_vector_13.cu rename to tests/cuda/parallel_vector_13.cc diff --git a/tests/cuda/parallel_vector_14.cu b/tests/cuda/parallel_vector_14.cc similarity index 100% rename from tests/cuda/parallel_vector_14.cu rename to tests/cuda/parallel_vector_14.cc diff --git a/tests/cuda/parallel_vector_15.cu b/tests/cuda/parallel_vector_15.cc similarity index 100% rename from tests/cuda/parallel_vector_15.cu rename to tests/cuda/parallel_vector_15.cc diff --git a/tests/cuda/parallel_vector_16.cu b/tests/cuda/parallel_vector_16.cc similarity index 100% rename from tests/cuda/parallel_vector_16.cu rename to tests/cuda/parallel_vector_16.cc diff --git a/tests/cuda/parallel_vector_21.cu b/tests/cuda/parallel_vector_21.cc similarity index 100% rename from tests/cuda/parallel_vector_21.cu rename to tests/cuda/parallel_vector_21.cc diff --git a/tests/cuda/parallel_vector_22.cu b/tests/cuda/parallel_vector_22.cc similarity index 100% rename from tests/cuda/parallel_vector_22.cu rename to tests/cuda/parallel_vector_22.cc diff --git a/tests/cuda/parallel_vector_23.cu b/tests/cuda/parallel_vector_23.cc similarity index 100% rename from tests/cuda/parallel_vector_23.cu rename to tests/cuda/parallel_vector_23.cc diff --git a/tests/cuda/parallel_vector_25.cu b/tests/cuda/parallel_vector_25.cc similarity index 100% rename from tests/cuda/parallel_vector_25.cu rename to tests/cuda/parallel_vector_25.cc diff --git a/tests/cuda/parallel_vector_26.cu b/tests/cuda/parallel_vector_26.cc similarity index 100% rename from tests/cuda/parallel_vector_26.cu rename to tests/cuda/parallel_vector_26.cc diff --git a/tests/cuda/precondition_01.cu b/tests/cuda/precondition_01.cc similarity index 100% rename from tests/cuda/precondition_01.cu rename to tests/cuda/precondition_01.cc diff --git a/tests/cuda/precondition_02.cu b/tests/cuda/precondition_02.cc similarity index 100% rename from tests/cuda/precondition_02.cu rename to tests/cuda/precondition_02.cc diff --git a/tests/cuda/precondition_03.cu b/tests/cuda/precondition_03.cc similarity index 100% rename from tests/cuda/precondition_03.cu rename to tests/cuda/precondition_03.cc diff --git a/tests/cuda/solver_01.cu b/tests/cuda/solver_01.cc similarity index 100% rename from tests/cuda/solver_01.cu rename to tests/cuda/solver_01.cc diff --git a/tests/cuda/solver_02.cu b/tests/cuda/solver_02.cc similarity index 100% rename from tests/cuda/solver_02.cu rename to tests/cuda/solver_02.cc diff --git a/tests/cuda/solver_03.cu b/tests/cuda/solver_03.cc similarity index 100% rename from tests/cuda/solver_03.cu rename to tests/cuda/solver_03.cc diff --git a/tests/cuda/solver_04.cu b/tests/cuda/solver_04.cc similarity index 100% rename from tests/cuda/solver_04.cu rename to tests/cuda/solver_04.cc diff --git a/tests/cuda/solver_05.cu b/tests/cuda/solver_05.cc similarity index 100% rename from tests/cuda/solver_05.cu rename to tests/cuda/solver_05.cc diff --git a/tests/cuda/solver_06.cu b/tests/cuda/solver_06.cc similarity index 100% rename from tests/cuda/solver_06.cu rename to tests/cuda/solver_06.cc diff --git a/tests/cuda/solver_07.cu b/tests/cuda/solver_07.cc similarity index 100% rename from tests/cuda/solver_07.cu rename to tests/cuda/solver_07.cc diff --git a/tests/cuda/solver_08.cu b/tests/cuda/solver_08.cc similarity index 100% rename from tests/cuda/solver_08.cu rename to tests/cuda/solver_08.cc diff --git a/tests/cuda/solver_09.cu b/tests/cuda/solver_09.cc similarity index 100% rename from tests/cuda/solver_09.cu rename to tests/cuda/solver_09.cc diff --git a/tests/cuda/solver_10.cu b/tests/cuda/solver_10.cc similarity index 100% rename from tests/cuda/solver_10.cu rename to tests/cuda/solver_10.cc diff --git a/tests/cuda/sparse_matrix_01.cu b/tests/cuda/sparse_matrix_01.cc similarity index 100% rename from tests/cuda/sparse_matrix_01.cu rename to tests/cuda/sparse_matrix_01.cc diff --git a/tests/cuda/sparse_matrix_02.cu b/tests/cuda/sparse_matrix_02.cc similarity index 100% rename from tests/cuda/sparse_matrix_02.cu rename to tests/cuda/sparse_matrix_02.cc diff --git a/tests/cuda/vector_memory_01.cu b/tests/cuda/vector_memory_01.cc similarity index 100% rename from tests/cuda/vector_memory_01.cu rename to tests/cuda/vector_memory_01.cc diff --git a/tests/cuda/vector_memory_02.cu b/tests/cuda/vector_memory_02.cc similarity index 100% rename from tests/cuda/vector_memory_02.cu rename to tests/cuda/vector_memory_02.cc diff --git a/tests/cuda/vector_reinit_01.cu b/tests/cuda/vector_reinit_01.cc similarity index 100% rename from tests/cuda/vector_reinit_01.cu rename to tests/cuda/vector_reinit_01.cc diff --git a/tests/quick_tests/cuda.cu b/tests/quick_tests/cuda.cc similarity index 100% rename from tests/quick_tests/cuda.cu rename to tests/quick_tests/cuda.cc