Skip to content

SME streaming runtime library is not linked #9182

Description

@stevesuzuki-arm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions