]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Blacklist header files containing CUDA code from all-headers tests
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jan 2018 23:00:19 +0000 (18:00 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Jan 2018 23:00:19 +0000 (18:00 -0500)
Header files that contain CUDA codes cannot be passed to the host compiler.
Thus, we blacklist them in all-headers tests.

tests/all-headers/CMakeLists.txt

index 8471f41abd6f00eadfd1ec371c7e23e7fa5f9cee..86bb155900738aec1f2181cf27258add45d51834 100644 (file)
@@ -45,6 +45,15 @@ FILE(GLOB_RECURSE _headers RELATIVE ${_include_dir}/deal.II
   ${_include_dir}/deal.II/*.h
   )
 
+#
+# Files that contain CUDA code cannot be sent to the host compiler so we removed
+# them from the list
+#
+LIST(REMOVE_ITEM _headers "lac/cuda_atomic.h"
+  "matrix_free/cuda_fe_evaluation.h"
+  "matrix_free/cuda_matrix_free.templates.h"
+  "matrix_free/cuda_tensor_product_kernels.h")
+
 # Do not test bundled headers to avoid issues when tests are run
 # for an already installed library
 STRING(REGEX REPLACE "bundled/[^;]+;?" "" _headers "${_headers}")

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.