Back to home page

EIC code displayed by LXR

 
 

    


Warning, /acts/Detray/tests/integration_tests/device/sycl/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # This file is part of the ACTS project.
0002 #
0003 # Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 #
0005 # This Source Code Form is subject to the terms of the Mozilla Public
0006 # License, v. 2.0. If a copy of the MPL was not distributed with this
0007 # file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 message(STATUS "Building detray SYCL integration tests")
0010 
0011 # Set the SYCL build flags.
0012 include(detray-compiler-options-sycl)
0013 
0014 # Enable SYCL as a language.
0015 enable_language(SYCL)
0016 
0017 # make unit tests for multiple algebras
0018 # Currently eigen, vc and smatrix is not supported
0019 set(algebras "array")
0020 
0021 foreach(algebra ${algebras})
0022     # Unit tests for the selected algebra.
0023     detray_add_integration_test(sycl_${algebra}
0024        "propagator_sycl_kernel.hpp"
0025        "propagator.sycl"
0026        "propagator_kernel.sycl"
0027        LINK_LIBRARIES GTest::gtest_main vecmem::sycl detray::test_device
0028        detray::core detray::algebra_${algebra} detray::test_utils
0029     )
0030     target_compile_definitions(
0031         detray_integration_test_sycl_${algebra}
0032         PRIVATE ${algebra}=${algebra}
0033     )
0034 endforeach()