Skip to content

Commit

Permalink
[L0] Always initialized ZeKernel
Browse files Browse the repository at this point in the history
  • Loading branch information
kbenzie committed Feb 2, 2024
1 parent cd97e17 commit 65c8a39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/adapters/level_zero/kernel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 65c8a39

Please sign in to comment.