From 8a2612a754cbc36eb2df1cd68e2ccf668bbf4056 Mon Sep 17 00:00:00 2001 From: Jaime Arteaga Date: Fri, 17 Sep 2021 23:34:05 +0000 Subject: [PATCH] Correct event signaling in zello_ipc_event Signed-off-by: Jaime Arteaga --- level_zero/core/test/black_box_tests/zello_ipc_event.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/level_zero/core/test/black_box_tests/zello_ipc_event.cpp b/level_zero/core/test/black_box_tests/zello_ipc_event.cpp index ca2bd687a5..de66558693 100644 --- a/level_zero/core/test/black_box_tests/zello_ipc_event.cpp +++ b/level_zero/core/test/black_box_tests/zello_ipc_event.cpp @@ -217,8 +217,7 @@ void run_client(int commSocket, uint32_t clientId) { } // Copy from heap to IPC buffer memory - SUCCESS_OR_TERMINATE(zeCommandListAppendMemoryCopy(cmdList, zeIpcBuffer, heapBuffer, allocSize, nullptr, 0, nullptr)); - SUCCESS_OR_TERMINATE(zeCommandListAppendSignalEvent(cmdList, events[0])); + SUCCESS_OR_TERMINATE(zeCommandListAppendMemoryCopy(cmdList, zeIpcBuffer, heapBuffer, allocSize, events[0], 0, nullptr)); SUCCESS_OR_TERMINATE(zeCommandListAppendWaitOnEvents(cmdList, 1, &events[1])); SUCCESS_OR_TERMINATE(zeCommandListClose(cmdList)); SUCCESS_OR_TERMINATE(zeCommandQueueExecuteCommandLists(cmdQueue, 1, &cmdList, nullptr));