Skip to content

Commit 109800c

Browse files
committed
Add dummy DeviceGetInfo call to test theory.
1 parent 2b1b459 commit 109800c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/adapters/cuda/context_tests.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ TEST_P(cudaUrContextCreateTest, CreateWithChildThread) {
4444
}
4545

4646
TEST_P(cudaUrContextCreateTest, ActiveContext) {
47+
ur_platform_handle_t devicePlatform;
48+
ASSERT_SUCCESS(urDeviceGetInfo(device, UR_DEVICE_INFO_PLATFORM,
49+
sizeof(ur_platform_handle_t), &devicePlatform,
50+
nullptr));
4751
uur::raii::Context context = nullptr;
4852
printf("creating ur context with device %p\n",
4953
reinterpret_cast<void *>(device));

0 commit comments

Comments
 (0)