@@ -63,10 +63,6 @@ TEST_P(urEventCreateWithNativeHandleTest, InvalidNullHandle) {
63
63
UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
64
64
urEventGetNativeHandle (event, &native_event));
65
65
66
- // We cannot assume anything about a native_handle, not even if it's
67
- // `nullptr` since this could be a valid representation within a backend.
68
- // We can however convert the native_handle back into a unified-runtime handle
69
- // and perform some query on it to verify that it works.
70
66
uur::raii::Event evt = nullptr ;
71
67
ASSERT_EQ_RESULT (
72
68
urEventCreateWithNativeHandle (native_event, nullptr , nullptr , evt.ptr ()),
@@ -79,10 +75,6 @@ TEST_P(urEventCreateWithNativeHandleTest, InvalidNullPointer) {
79
75
UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
80
76
urEventGetNativeHandle (event, &native_event));
81
77
82
- // We cannot assume anything about a native_handle, not even if it's
83
- // `nullptr` since this could be a valid representation within a backend.
84
- // We can however convert the native_handle back into a unified-runtime handle
85
- // and perform some query on it to verify that it works.
86
78
uur::raii::Event evt = nullptr ;
87
79
ASSERT_EQ_RESULT (
88
80
urEventCreateWithNativeHandle (native_event, context, nullptr , nullptr ),
0 commit comments