Revert "fix: propagate error createInternalHandle wddm"

This reverts commit eeddd779f0.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2025-05-16 02:04:44 +02:00
committed by Compute-Runtime-Automation
parent 05dbbcab6c
commit 0a096f1d50
5 changed files with 7 additions and 7 deletions

View File

@@ -770,7 +770,7 @@ ze_result_t ContextImp::getIpcMemHandlesImpl(const void *ptr,
for (uint32_t i = 0u; i < loopCount; i++) {
uint64_t handle = 0;
int ret = alloc->createInternalHandle(memoryManager, i, handle);
if (ret != 0) {
if (ret < 0) {
return ZE_RESULT_ERROR_OUT_OF_HOST_MEMORY;
}