Description
SME streaming runtime library is not linked
This issue is about PR #9126 which is not in main branch at the time of filing.
In compiling a function for SME streaming, LLVM may emit some calls to builtin function for streaming mode.
e.g. __arm_sc_memcpy, __arm_sc_memmove, __arm_sc_memset,
which ended up with JIT error because we don't link to or have an implementation for now.
In case of clang, we have to set compiler-rt option to link the runtime library that contains it, while we don't have the equivalent in Halide.
Reproducing case
This case is found in running correctness/sme_streaming.cpp test_update_rdom() on host with SME2. (requires #9126)
Halide commit (if known)
requires #9126, without workaround
Target
arm-64-osx-arm_dot_prod-arm_fp16-sme2-sme_svl512
Operating system
macOS 26.3.1
Additional context
Talked about this in dev-meeting 22nd June @alexreinking
Description
SME streaming runtime library is not linked
This issue is about PR #9126 which is not in main branch at the time of filing.
In compiling a function for SME streaming, LLVM may emit some calls to builtin function for streaming mode.
e.g.
__arm_sc_memcpy,__arm_sc_memmove,__arm_sc_memset,which ended up with JIT error because we don't link to or have an implementation for now.
In case of clang, we have to set
compiler-rtoption to link the runtime library that contains it, while we don't have the equivalent in Halide.Reproducing case
This case is found in running
correctness/sme_streaming.cpptest_update_rdom()on host with SME2. (requires #9126)Halide commit (if known)
requires #9126, without workaround
Target
arm-64-osx-arm_dot_prod-arm_fp16-sme2-sme_svl512
Operating system
macOS 26.3.1
Additional context
Talked about this in dev-meeting 22nd June @alexreinking