diff --git a/sycl/source/detail/event_impl.cpp b/sycl/source/detail/event_impl.cpp index 34a2514d5c0f9..10174dc383b30 100644 --- a/sycl/source/detail/event_impl.cpp +++ b/sycl/source/detail/event_impl.cpp @@ -238,7 +238,7 @@ void event_impl::wait(std::shared_ptr Self) { #ifdef XPTI_ENABLE_INSTRUMENTATION void *TelemetryEvent = nullptr; - uint64_t IId; + uint64_t IId = 0; std::string Name; int32_t StreamID = xptiRegisterStream(SYCL_STREAM_NAME); TelemetryEvent = instrumentationProlog(Name, StreamID, IId);