diff --git a/source/adapters/level_zero/kernel.hpp b/source/adapters/level_zero/kernel.hpp index b6ded8d604..1cc146d262 100644 --- a/source/adapters/level_zero/kernel.hpp +++ b/source/adapters/level_zero/kernel.hpp @@ -15,7 +15,8 @@ struct ur_kernel_handle_t_ : _ur_object { ur_kernel_handle_t_(bool OwnZeHandle, ur_program_handle_t Program) - : Context{nullptr}, Program{Program}, SubmissionsCount{0}, MemAllocs{} { + : Context{nullptr}, Program{Program}, ZeKernel{nullptr}, + SubmissionsCount{0}, MemAllocs{} { OwnNativeHandle = OwnZeHandle; }