Skip to content

Commit 2b13529

Browse files
authored
[SYCL][libdevice][CMake][Trivial] Fix imf-fallback missing in NVPTX (intel#16336)
Seems like the IMF fallback libraries are not collected in the merged libdevice for NVPTX and AMDGPU, because the name of the CMake property was wrong. I don't know why our testing does not catch this. I have seen this result in unresolved symbols earlier, but I have been sitting on this patch for a while and did not try with current trunk.
1 parent ede906c commit 2b13529

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libdevice/cmake/modules/SYCLLibdevice.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ foreach(arch IN LISTS devicelib_arch)
584584

585585
append_to_property(
586586
${bc_binary_dir}/libsycl-fallback-imf-${arch}-${dtype}.${bc-suffix}
587-
PROPERTY_NAME ${arch})
587+
PROPERTY_NAME BC_DEVICE_LIBS_${arch})
588588
endforeach()
589589
endforeach()
590590

0 commit comments

Comments
 (0)