Skip to content

Commit 9d82232

Browse files
Petr Veselykbenzie
authored andcommitted
[UR] Fix urContextNativeHandle CTS
1 parent 636150a commit 9d82232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/conformance/context/urContextCreateWithNativeHandle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ TEST_P(urContextCreateWithNativeHandleTest, Success) {
2020
// and perform some query on it to verify that it works.
2121
ur_context_handle_t ctx = nullptr;
2222
ur_context_native_properties_t props{};
23-
ASSERT_SUCCESS(urContextCreateWithNativeHandle(native_context, 0, nullptr,
23+
ASSERT_SUCCESS(urContextCreateWithNativeHandle(native_context, 1, &device,
2424
&props, &ctx));
2525
ASSERT_NE(ctx, nullptr);
2626

0 commit comments

Comments
 (0)