Skip to content

Commit 00d8b36

Browse files
RossBruntonkbenzie
authored andcommitted
Correctly return adapter pointer from PlatformGetInfo (#19322)
1 parent 7b1f19d commit 00d8b36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)