@@ -63,10 +63,6 @@ TEST_P(urEventCreateWithNativeHandleTest, InvalidNullHandle) {
6363 UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
6464 urEventGetNativeHandle (event, &native_event));
6565
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.
7066 uur::raii::Event evt = nullptr ;
7167 ASSERT_EQ_RESULT (
7268 urEventCreateWithNativeHandle (native_event, nullptr , nullptr , evt.ptr ()),
@@ -79,10 +75,6 @@ TEST_P(urEventCreateWithNativeHandleTest, InvalidNullPointer) {
7975 UUR_ASSERT_SUCCESS_OR_UNSUPPORTED (
8076 urEventGetNativeHandle (event, &native_event));
8177
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.
8678 uur::raii::Event evt = nullptr ;
8779 ASSERT_EQ_RESULT (
8880 urEventCreateWithNativeHandle (native_event, context, nullptr , nullptr ),
0 commit comments