Skip to content

Commit 633270a

Browse files
committed
fix return value size
1 parent 24696b5 commit 633270a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/adapters/hip/device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
732732
hipDeviceProp_t Props;
733733
UR_CHECK_ERROR(hipGetDeviceProperties(&Props, hDevice->get()));
734734
if (strcmp(Props.gcnArchName, "gfx1031") == 0) {
735-
return ReturnValue(0);
735+
return ReturnValue(size_t{0});
736736
}
737737

738738
size_t FreeMemory = 0;

0 commit comments

Comments
 (0)