From 0e8f01ac706878ec9acf2e071edeacecfeece78a Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Mon, 15 Jan 2018 18:00:19 -0500 Subject: [PATCH] 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. --- tests/all-headers/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) 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}") -- 2.39.5