ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
math.hpp
1// This file is part of the ACTS project.
2//
3// Copyright (C) 2016 CERN for the benefit of the ACTS project
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
9#pragma once
10
11// Algebra-plugins include(s)
12#include "detray/definitions/algebra.hpp"
13
14// SYCL include(s).
15#if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION)
16#include <sycl/sycl.hpp>
17#endif
18
19namespace detray::math {
20
22#if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION)
23using namespace ::sycl;
24#else
25// Allow algebra plugins to define their own basic math functions
26using namespace ::detray::algebra::math;
27#endif // SYCL
28
29} // namespace detray::math