Skip to content

Commit 224e3e3

Browse files
authored
[SYCL] Skip loading imf fp64 fallback library on platform without fp64 ext (#11295)
Signed-off-by: jinge90 <[email protected]>
1 parent dab8f66 commit 224e3e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,8 +1153,10 @@ getDeviceLibPrograms(const ContextImplPtr Context,
11531153
if (!isDeviceLibRequired(Ext, DeviceLibReqMask)) {
11541154
continue;
11551155
}
1156+
11561157
if ((Ext == DeviceLibExt::cl_intel_devicelib_math_fp64 ||
1157-
Ext == DeviceLibExt::cl_intel_devicelib_complex_fp64) &&
1158+
Ext == DeviceLibExt::cl_intel_devicelib_complex_fp64 ||
1159+
Ext == DeviceLibExt::cl_intel_devicelib_imf_fp64) &&
11581160
!fp64Support) {
11591161
continue;
11601162
}

0 commit comments

Comments
 (0)