Skip to content

Commit 398571a

Browse files
[SYCL][ESIMD][EMU] Enable fp64/double type support (intel#6796)
* For PI_DEVICE_INFO_EXTENSIONS, 'piDeviceGetInfo' returns 'cl_khr_fp64' as the type can be supported as native 'double' type * Fixes current pre-commit issue with unexpected pass on SYCL :: spec_const/spec_const_double.cpp
1 parent 9a59ef5 commit 398571a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/plugins/esimd_emulator/pi_esimd_emulator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ pi_result piDeviceGetInfo(pi_device Device, pi_device_info ParamName,
625625
// TODO : Populate return string accordingly - e.g. cl_khr_fp16,
626626
// cl_khr_fp64, cl_khr_int64_base_atomics,
627627
// cl_khr_int64_extended_atomics
628-
return ReturnValue("");
628+
return ReturnValue("cl_khr_fp64");
629629
case PI_DEVICE_INFO_VERSION:
630630
return ReturnValue(Device->VersionStr.c_str());
631631
case PI_DEVICE_INFO_BUILD_ON_SUBDEVICE: // emulator doesn't support partition

0 commit comments

Comments
 (0)