|
|
|||
File indexing completed on 2026-05-27 07:23:54
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 // SYCL include(s). 0012 #if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION) 0013 #include <sycl/sycl.hpp> 0014 #endif 0015 0016 // System include(s). 0017 #include <algorithm> 0018 #include <cmath> 0019 0020 // NOLINTBEGIN 0021 namespace detray::algebra { 0022 0023 /// Namespace to pick up common math functions from 0024 #if defined(CL_SYCL_LANGUAGE_VERSION) || defined(SYCL_LANGUAGE_VERSION) 0025 namespace math { 0026 using namespace ::sycl; 0027 } 0028 #else 0029 namespace math { 0030 using namespace std; 0031 } 0032 #endif // SYCL 0033 0034 } // namespace detray::algebra 0035 // NOLINTEND
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|