]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Move *.cu to *.cc files
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 28 Oct 2022 13:21:24 +0000 (09:21 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 28 Oct 2022 14:44:04 +0000 (10:44 -0400)
92 files changed:
cmake/macros/macro_deal_ii_add_test.cmake
examples/step-64/CMakeLists.txt
source/base/CMakeLists.txt
source/base/cuda.cc [moved from source/base/cuda.cu with 100% similarity]
source/base/partitioner_cuda.cc [moved from source/base/partitioner.cu with 100% similarity]
source/lac/CMakeLists.txt
source/lac/affine_constraints_cuda.cc [moved from source/lac/affine_constraints.cu with 100% similarity]
source/lac/cuda_kernels.cc [moved from source/lac/cuda_kernels.cu with 100% similarity]
source/lac/cuda_precondition.cc [moved from source/lac/cuda_precondition.cu with 100% similarity]
source/lac/cuda_solver_direct.cc [moved from source/lac/cuda_solver_direct.cu with 100% similarity]
source/lac/cuda_sparse_matrix.cc [moved from source/lac/cuda_sparse_matrix.cu with 100% similarity]
source/lac/cuda_vector.cc [moved from source/lac/cuda_vector.cu with 100% similarity]
source/lac/la_parallel_vector_cuda.cc [moved from source/lac/la_parallel_vector.cu with 100% similarity]
source/lac/read_write_vector_cuda.cc [moved from source/lac/read_write_vector.cu with 100% similarity]
source/lac/vector_memory_cuda.cc [moved from source/lac/vector_memory.cu with 100% similarity]
source/matrix_free/CMakeLists.txt
source/matrix_free/cuda_matrix_free.cc [moved from source/matrix_free/cuda_matrix_free.cu with 100% similarity]
tests/cuda/affine_constraints_set_zero.cc [moved from tests/cuda/affine_constraints_set_zero.cu with 100% similarity]
tests/cuda/array_view_access_data.cc [moved from tests/cuda/array_view_access_data.cu with 100% similarity]
tests/cuda/array_view_wrong_memory.cc [moved from tests/cuda/array_view_wrong_memory.cu with 100% similarity]
tests/cuda/coefficient_eval.cc [moved from tests/cuda/coefficient_eval.cu with 100% similarity]
tests/cuda/cuda_evaluate_1d_shape.cc [moved from tests/cuda/cuda_evaluate_1d_shape.cu with 100% similarity]
tests/cuda/cuda_evaluate_2d_shape.cc [moved from tests/cuda/cuda_evaluate_2d_shape.cu with 100% similarity]
tests/cuda/cuda_point.cc [moved from tests/cuda/cuda_point.cu with 100% similarity]
tests/cuda/cuda_tensor_01.cc [moved from tests/cuda/cuda_tensor_01.cu with 100% similarity]
tests/cuda/cuda_tensor_02.cc [moved from tests/cuda/cuda_tensor_02.cu with 100% similarity]
tests/cuda/cuda_vector_01.cc [moved from tests/cuda/cuda_vector_01.cu with 100% similarity]
tests/cuda/cuda_vector_02.cc [moved from tests/cuda/cuda_vector_02.cu with 100% similarity]
tests/cuda/cuda_vector_03.cc [moved from tests/cuda/cuda_vector_03.cu with 100% similarity]
tests/cuda/cuda_vector_04.cc [moved from tests/cuda/cuda_vector_04.cu with 100% similarity]
tests/cuda/cuda_vector_05.cc [moved from tests/cuda/cuda_vector_05.cu with 100% similarity]
tests/cuda/matrix_free_initialize_vector.cc [moved from tests/cuda/matrix_free_initialize_vector.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_01.cc [moved from tests/cuda/matrix_free_matrix_vector_01.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_02.cc [moved from tests/cuda/matrix_free_matrix_vector_02.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_03.cc [moved from tests/cuda/matrix_free_matrix_vector_03.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_03b.cc [moved from tests/cuda/matrix_free_matrix_vector_03b.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_04.cc [moved from tests/cuda/matrix_free_matrix_vector_04.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_05.cc [moved from tests/cuda/matrix_free_matrix_vector_05.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_06.cc [moved from tests/cuda/matrix_free_matrix_vector_06.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_06a.cc [moved from tests/cuda/matrix_free_matrix_vector_06a.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_06b.cc [moved from tests/cuda/matrix_free_matrix_vector_06b.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_09.cc [moved from tests/cuda/matrix_free_matrix_vector_09.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_10.cc [moved from tests/cuda/matrix_free_matrix_vector_10.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_10a.cc [moved from tests/cuda/matrix_free_matrix_vector_10a.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_19.cc [moved from tests/cuda/matrix_free_matrix_vector_19.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_25.cc [moved from tests/cuda/matrix_free_matrix_vector_25.cu with 100% similarity]
tests/cuda/matrix_free_matrix_vector_26.cc [moved from tests/cuda/matrix_free_matrix_vector_26.cu with 100% similarity]
tests/cuda/matrix_free_multiple_objects.cc [moved from tests/cuda/matrix_free_multiple_objects.cu with 100% similarity]
tests/cuda/matrix_free_no_index_initialize.cc [moved from tests/cuda/matrix_free_no_index_initialize.cu with 100% similarity]
tests/cuda/matrix_free_reinit_01.cc [moved from tests/cuda/matrix_free_reinit_01.cu with 100% similarity]
tests/cuda/parallel_partitioner_06.cc [moved from tests/cuda/parallel_partitioner_06.cu with 100% similarity]
tests/cuda/parallel_partitioner_07.cc [moved from tests/cuda/parallel_partitioner_07.cu with 100% similarity]
tests/cuda/parallel_partitioner_08.cc [moved from tests/cuda/parallel_partitioner_08.cu with 100% similarity]
tests/cuda/parallel_vector_01.cc [moved from tests/cuda/parallel_vector_01.cu with 100% similarity]
tests/cuda/parallel_vector_02.cc [moved from tests/cuda/parallel_vector_02.cu with 100% similarity]
tests/cuda/parallel_vector_03.cc [moved from tests/cuda/parallel_vector_03.cu with 100% similarity]
tests/cuda/parallel_vector_03a.cc [moved from tests/cuda/parallel_vector_03a.cu with 100% similarity]
tests/cuda/parallel_vector_04.cc [moved from tests/cuda/parallel_vector_04.cu with 100% similarity]
tests/cuda/parallel_vector_05.cc [moved from tests/cuda/parallel_vector_05.cu with 100% similarity]
tests/cuda/parallel_vector_06.cc [moved from tests/cuda/parallel_vector_06.cu with 100% similarity]
tests/cuda/parallel_vector_08.cc [moved from tests/cuda/parallel_vector_08.cu with 100% similarity]
tests/cuda/parallel_vector_10.cc [moved from tests/cuda/parallel_vector_10.cu with 100% similarity]
tests/cuda/parallel_vector_11.cc [moved from tests/cuda/parallel_vector_11.cu with 100% similarity]
tests/cuda/parallel_vector_12.cc [moved from tests/cuda/parallel_vector_12.cu with 100% similarity]
tests/cuda/parallel_vector_13.cc [moved from tests/cuda/parallel_vector_13.cu with 100% similarity]
tests/cuda/parallel_vector_14.cc [moved from tests/cuda/parallel_vector_14.cu with 100% similarity]
tests/cuda/parallel_vector_15.cc [moved from tests/cuda/parallel_vector_15.cu with 100% similarity]
tests/cuda/parallel_vector_16.cc [moved from tests/cuda/parallel_vector_16.cu with 100% similarity]
tests/cuda/parallel_vector_21.cc [moved from tests/cuda/parallel_vector_21.cu with 100% similarity]
tests/cuda/parallel_vector_22.cc [moved from tests/cuda/parallel_vector_22.cu with 100% similarity]
tests/cuda/parallel_vector_23.cc [moved from tests/cuda/parallel_vector_23.cu with 100% similarity]
tests/cuda/parallel_vector_25.cc [moved from tests/cuda/parallel_vector_25.cu with 100% similarity]
tests/cuda/parallel_vector_26.cc [moved from tests/cuda/parallel_vector_26.cu with 100% similarity]
tests/cuda/precondition_01.cc [moved from tests/cuda/precondition_01.cu with 100% similarity]
tests/cuda/precondition_02.cc [moved from tests/cuda/precondition_02.cu with 100% similarity]
tests/cuda/precondition_03.cc [moved from tests/cuda/precondition_03.cu with 100% similarity]
tests/cuda/solver_01.cc [moved from tests/cuda/solver_01.cu with 100% similarity]
tests/cuda/solver_02.cc [moved from tests/cuda/solver_02.cu with 100% similarity]
tests/cuda/solver_03.cc [moved from tests/cuda/solver_03.cu with 100% similarity]
tests/cuda/solver_04.cc [moved from tests/cuda/solver_04.cu with 100% similarity]
tests/cuda/solver_05.cc [moved from tests/cuda/solver_05.cu with 100% similarity]
tests/cuda/solver_06.cc [moved from tests/cuda/solver_06.cu with 100% similarity]
tests/cuda/solver_07.cc [moved from tests/cuda/solver_07.cu with 100% similarity]
tests/cuda/solver_08.cc [moved from tests/cuda/solver_08.cu with 100% similarity]
tests/cuda/solver_09.cc [moved from tests/cuda/solver_09.cu with 100% similarity]
tests/cuda/solver_10.cc [moved from tests/cuda/solver_10.cu with 100% similarity]
tests/cuda/sparse_matrix_01.cc [moved from tests/cuda/sparse_matrix_01.cu with 100% similarity]
tests/cuda/sparse_matrix_02.cc [moved from tests/cuda/sparse_matrix_02.cu with 100% similarity]
tests/cuda/vector_memory_01.cc [moved from tests/cuda/vector_memory_01.cu with 100% similarity]
tests/cuda/vector_memory_02.cc [moved from tests/cuda/vector_memory_02.cu with 100% similarity]
tests/cuda/vector_reinit_01.cc [moved from tests/cuda/vector_reinit_01.cu with 100% similarity]
tests/quick_tests/cuda.cc [moved from tests/quick_tests/cuda.cu with 100% similarity]

index 00e68df10cfcd1d72642830090fd9b32cb4c4c91..1cd35c2e20ca940b1472ec1dbe12e2147ea2dc1f 100644 (file)
@@ -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})
index 7ba67286a020e00b08db49305d14a088ce9d4536..b133b03014820694a6367894b7ce9c21d0921f24 100644 (file)
@@ -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...
index a174c93ac6d854d6d80b59d246179693ee0ba153..c94f3efa19e2655814a21e36d2b6655868b4d2bb 100644 (file)
@@ -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
similarity index 100%
rename from source/base/cuda.cu
rename to source/base/cuda.cc
index 342e0a234afc850aaa8ed4d93b15fd5175e20055..57373d13d18c6aec7918f1920ed8156de858f30f 100644 (file)
@@ -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
index f4fde2f6ffb17a0404d77839ad17d4a7501db300..511a4c6fd9f13ba4586cbe9d4d864453392a0411 100644 (file)
@@ -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})

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.