23 std::vector<RT::PiEvent> Events;
24 for (
auto SyclEvent : DepEvents) {
29 if (SyclEventImplPtr->MIsContextInitialized ==
false) {
32 if (SyclEventImplPtr->is_host() ||
33 SyclEventImplPtr->getContextImpl() != Context) {
34 SyclEventImplPtr->waitInternal();
36 Events.push_back(SyclEventImplPtr->getHandleRef());
42 void waitEvents(std::vector<cl::sycl::event> DepEvents) {
43 for (
auto SyclEvent : DepEvents) {