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) 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/hip/utils/await.hpp"
0010 
0011 // System include(s).
0012 #include <concepts>
0013 
0014 namespace traccc::hip {
0015 
0016 void await_sync_event(vecmem::abstract_event& event,
0017                       const stream_wrapper& /*stream*/) {
0018   event.wait();
0019 }
0020 
0021 static_assert(
0022     std::constructible_from<await_function_type, decltype(await_sync_event)>,
0023     "await_sync_event should be of type await_function_type");
0024 
0025 }  // namespace traccc::hip