Skip to content

Commit 03c81a7

Browse files
committed
[Tests] remove unnecessary call to urEventCreateWithNativeHandle
This had no effect on the test as UR always allocates a new object for the signal event.
1 parent a99c369 commit 03c81a7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/adapters/level_zero/multi_device_event_cache_tests.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ TEST_F(urMultiQueueMultiDeviceEventCacheTest,
6969
uur::raii::Event eventWait = nullptr;
7070
uur::raii::Event eventWaitDummy = nullptr;
7171
zeCommandListAppendWaitOnEventsCount = 0;
72-
EXPECT_SUCCESS(
73-
urEventCreateWithNativeHandle(0, context2, nullptr, eventWait.ptr()));
7472
EXPECT_SUCCESS(urEventCreateWithNativeHandle(0, context1, nullptr,
7573
eventWaitDummy.ptr()));
7674
EXPECT_SUCCESS(
@@ -106,8 +104,6 @@ TEST_F(urMultiQueueMultiDeviceEventCacheTest,
106104
uur::raii::Event eventWait = nullptr;
107105
uur::raii::Event eventWaitDummy = nullptr;
108106
zeCommandListAppendWaitOnEventsCount = 0;
109-
EXPECT_SUCCESS(
110-
urEventCreateWithNativeHandle(0, context2, nullptr, eventWait.ptr()));
111107
EXPECT_SUCCESS(urEventCreateWithNativeHandle(0, context1, nullptr,
112108
eventWaitDummy.ptr()));
113109
EXPECT_SUCCESS(

0 commit comments

Comments
 (0)