Skip to content

asimd detection on macos 15.3 #390

Description

@zap150

The library detects asimd via

info.features.asimd = GetDarwinSysCtlByName("hw.optional.AdvSIMD");

However,

sysctl -a | grep -i simd                               
hw.optional.arm.AdvSIMD: 1

I.e. I suggest to fix this by

info.features.asimd = GetDarwinSysCtlByName("hw.optional.AdvSIMD") || GetDarwinSysCtlByName("hw.optional.arm.AdvSIMD");

for backward compatibility.

Activity

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

Metadata

Metadata

Assignees

Labels

Apple M1Apple M1 related issuesbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions