Skip to content

how to build with enabled sme arm kleidai #7324

Open
@Junhyuk

Description

I hope to know hot to build and enable SME arm architecture .

Activity

alankelly

alankelly commented on Oct 29, 2024

@alankelly
Collaborator

You need to pass these flags to blaze as it is not enabled by default:
--define xnn_enable_arm_sme=true --define xnn_enable_arm_sme2=true

We have tested this on iOS. You must create an XCode project to build and deploy it to a device.

If youa re building on linux, then defining the flags should be sufficient.

UsmanNadeem

UsmanNadeem commented on Feb 10, 2025

@UsmanNadeem

You need to pass these flags to blaze as it is not enabled by default: --define xnn_enable_arm_sme=true --define xnn_enable_arm_sme2=true

We have tested this on iOS. You must create an XCode project to build and deploy it to a device.

If youa re building on linux, then defining the flags should be sufficient.

@alankelly After adding these flags will the models (e.g. tflite) automatically use the relevant SME matmul microkernels on supported hardware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      how to build with enabled sme arm kleidai · Issue #7324 · google/XNNPACK