Skip to content

Commit 52f0981

Browse files
[SYCL] Keep bfloat16 native and fallback spv for compatibility (intel#19873)
This is a cherry-pick of intel#19780 Previously, we stopped building and deploying native/fallback bfloat16 spv files since latest compiler will embed required files into user's executable. However, we found some developers hadn't switched to latest compiler, then compatibility issue would happen. This PR continues to build and deploy, we will remove the files util a major release. Patch-by: jinge90 <[email protected]>
1 parent 1c88522 commit 52f0981

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libdevice/cmake/modules/SYCLLibdevice.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,12 +602,10 @@ add_devicelibs(libsycl-fallback-cmath-fp64
602602
DEPENDENCIES ${cmath_obj_deps})
603603
add_devicelibs(libsycl-fallback-bfloat16
604604
SRC fallback-bfloat16.cpp
605-
FILETYPES "${filetypes_no_spv}"
606605
BUILD_ARCHS ${full_build_archs}
607606
DEPENDENCIES ${bfloat16_obj_deps})
608607
add_devicelibs(libsycl-native-bfloat16
609608
SRC bfloat16_wrapper.cpp
610-
FILETYPES "${filetypes_no_spv}"
611609
BUILD_ARCHS ${full_build_archs}
612610
DEPENDENCIES ${bfloat16_obj_deps})
613611

0 commit comments

Comments
 (0)