From: Bruno Turcksin Date: Mon, 15 Jan 2018 23:00:19 +0000 (-0500) Subject: Blacklist header files containing CUDA code from all-headers tests X-Git-Tag: v9.0.0-rc1~561^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e8f01ac706878ec9acf2e071edeacecfeece78a;p=dealii.git Blacklist header files containing CUDA code from all-headers tests Header files that contain CUDA codes cannot be passed to the host compiler. Thus, we blacklist them in all-headers tests. --- diff --git a/tests/all-headers/CMakeLists.txt b/tests/all-headers/CMakeLists.txt index 8471f41abd..86bb155900 100644 --- a/tests/all-headers/CMakeLists.txt +++ b/tests/all-headers/CMakeLists.txt @@ -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}")