Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-26 08:05:37

0001 /** TRACCC library, part of the ACTS project (R&D line)
0002  *
0003  * (c) 2022-2026 CERN for the benefit of the ACTS project
0004  *
0005  * Mozilla Public License Version 2.0
0006  */
0007 
0008 // Project include(s).
0009 #include "traccc/cuda/utils/await.hpp"
0010 
0011 // System include(s).
0012 #include <concepts>
0013 
0014 namespace traccc::cuda {
0015 void await_sync_event(vecmem::abstract_event& event,
0016                       const stream_wrapper& /*stream*/) {
0017   event.wait();
0018 }
0019 
0020 static_assert(
0021     std::constructible_from<await_function_type, decltype(await_sync_event)>,
0022     "await_sync_event should be of type await_function_type");
0023 
0024 }  // namespace traccc::cuda