diff --git a/rocclr/device/pal/palmemory.cpp b/rocclr/device/pal/palmemory.cpp index 338f5ea7aa..16b996a331 100644 --- a/rocclr/device/pal/palmemory.cpp +++ b/rocclr/device/pal/palmemory.cpp @@ -350,8 +350,7 @@ bool Memory::createInterop() { vkRes.owner_ = owner(); memType = Resource::VkInterop; vkRes.handle_ = vkObject->getVkSharedHandle(); - assert(vkRes.handle_ != nullptr); - vkRes.type_ = Resource::InteropTypeless; + vkRes.type_ = Resource::InteropTypeless; } else if (glObject != nullptr) {