We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d6211 commit a0d36a6Copy full SHA for a0d36a6
unified-runtime/source/adapters/cuda/platform.cpp
@@ -100,7 +100,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urPlatformGetInfo(
100
return ReturnValue(UR_PLATFORM_BACKEND_CUDA);
101
}
102
case UR_PLATFORM_INFO_ADAPTER: {
103
- return ReturnValue(&ur::cuda::adapter);
+ return ReturnValue(ur::cuda::adapter.get());
104
105
default:
106
return UR_RESULT_ERROR_INVALID_ENUMERATION;
0 commit comments