Skip to content

Commit 789555b

Browse files
authored
[UR][Offload] Correctly return adapter pointer from PlatformGetInfo (#19322)
1 parent 8a816e4 commit 789555b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/offload/platform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ urPlatformGetInfo(ur_platform_handle_t hPlatform, ur_platform_info_t propName,
6161
case UR_PLATFORM_INFO_BACKEND:
6262
return ReturnValue(UR_BACKEND_OFFLOAD);
6363
case UR_PLATFORM_INFO_ADAPTER:
64-
return ReturnValue(&Adapter);
64+
return ReturnValue(Adapter);
6565
break;
6666
default:
6767
return UR_RESULT_ERROR_INVALID_ENUMERATION;

0 commit comments

Comments
 (0)