Skip to content
Snippets Groups Projects
Commit 17f1b09b authored by RTA's avatar RTA
Browse files

disable tests calling Gaudi-Allen algorithms when compiled for cuda architecture

parent d53d6b0a
No related branches found
No related tags found
1 merge request!2534Disable Gaudi-Allen tests when compiled for cuda architecture
Pipeline #5963513 passed with warnings
......@@ -47,3 +47,15 @@ if(BUILD_TESTING AND USE_DD4HEP)
DISABLED TRUE
)
endif()
if (BINARY_TAG MATCHES ".*cuda.*")
# When compiling for GPU, Gaudi-Allen algorithm wrappers call the device algorithms
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(hlt1conf_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${hlt1conf_tests})
if(test MATCHES "allen")
#message(STATUS "Disabling ${test}")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
......@@ -28,6 +28,19 @@ if(BINARY_TAG MATCHES "san$")
endforeach()
endif()
if (BINARY_TAG MATCHES ".*cuda.*")
# When compiling for GPU, Gaudi-Allen algorithm wrappers call the device algorithms
# since these are incompatible with calling from Moore / Gaudi, disable Gaudi-Allen tests
get_property(recoconf_tests DIRECTORY PROPERTY TESTS)
foreach(test IN ITEMS ${recoconf_tests})
if(test MATCHES "allen")
#message(STATUS "Disabling ${test}")
set_property(TEST ${test} PROPERTY DISABLED TRUE)
endif()
endforeach()
endif()
if(BUILD_TESTING AND USE_DD4HEP)
# Disable some tests that are not yet dd4hep ready
set_property(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment