Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-26 08:22:12

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2025 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 #pragma once
0009 
0010 // Local include(s).
0011 #include "traccc/sycl/utils/queue_wrapper.hpp"
0012 
0013 // Project include(s).
0014 #include "traccc/bfield/magnetic_field.hpp"
0015 
0016 namespace traccc::sycl {
0017 
0018 /// Create a magnetic field usable on the selected SYCL device
0019 ///
0020 /// @param bfield The magnetic field to be copied
0021 /// @param queue The SYCL queue to use for the operation
0022 /// @return A copy of the magnetic field that can be used on the selected SYCL
0023 ///         device
0024 ///
0025 magnetic_field make_magnetic_field(const magnetic_field& bfield,
0026                                    queue_wrapper& queue);
0027 
0028 }  // namespace traccc::sycl