Skip to content

Commit 2118102

Browse files
authored
Merge pull request #822 from veselypeta/petr/820/fix-invalid-native-context-handle-cts
[UR] Fix urContextNativeHandle CTS
2 parents f7682a2 + 9d82232 commit 2118102

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)