Skip to content

Commit 5447301

Browse files
[SYCL] minor uninitialized value (#14403)
uninitialized value causing complaint from c.v.
1 parent 2d2c13a commit 5447301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/event_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ class event_impl {
381381
// If this event represents a submission to a
382382
// sycl::detail::pi::PiExtCommandBuffer the sync point for that submission is
383383
// stored here.
384-
sycl::detail::pi::PiExtSyncPoint MSyncPoint;
384+
sycl::detail::pi::PiExtSyncPoint MSyncPoint = 0;
385385

386386
// If this event represents a submission to a
387387
// sycl::detail::pi::PiExtCommandBuffer the command-buffer command

0 commit comments

Comments
 (0)