Skip to content
Snippets Groups Projects

Disable Gaudi-Allen tests when compiled for cuda architecture

Merged Dorothea Vom Bruch requested to merge dovombru_disable_allen_gaudi_cuda_binary_tag into master
2 files
+ 25
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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()
Loading