Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-27 07:23:58

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 #pragma once
0010 
0011 // Algebra-plugins include(s)
0012 #include "detray/definitions/algebra.hpp"
0013 
0014 // SYCL include(s).
0015 #if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION)
0016 #include <sycl/sycl.hpp>
0017 #endif
0018 
0019 namespace detray::math {
0020 
0021 /// Namespace to pick up math functions from
0022 #if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION)
0023 using namespace ::sycl;
0024 #else
0025 // Allow algebra plugins to define their own basic math functions
0026 using namespace ::detray::algebra::math;
0027 #endif  // SYCL
0028 
0029 }  // namespace detray::math