Skip to content

Commit 364a299

Browse files
authored
Merge pull request #988 from MartinWehking/adapters
Enable fp16 runtime support for hip
2 parents 95db255 + 5d304c5 commit 364a299

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/adapters/hip/device.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
549549
SupportedExtensions += "cl_khr_fp64 ";
550550
}
551551

552+
SupportedExtensions += "cl_khr_fp16 ";
553+
552554
return ReturnValue(SupportedExtensions.c_str());
553555
}
554556
case UR_DEVICE_INFO_PRINTF_BUFFER_SIZE: {

0 commit comments

Comments
 (0)