Skip to content

Commit

Permalink
Add dummy DeviceGetInfo call to test theory.
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongreig committed Feb 21, 2025
1 parent 2b1b459 commit 109800c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/adapters/cuda/context_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ TEST_P(cudaUrContextCreateTest, CreateWithChildThread) {
}

TEST_P(cudaUrContextCreateTest, ActiveContext) {
ur_platform_handle_t devicePlatform;
ASSERT_SUCCESS(urDeviceGetInfo(device, UR_DEVICE_INFO_PLATFORM,
sizeof(ur_platform_handle_t), &devicePlatform,
nullptr));
uur::raii::Context context = nullptr;
printf("creating ur context with device %p\n",
reinterpret_cast<void *>(device));
Expand Down

0 comments on commit 109800c

Please sign in to comment.