Skip to content

Conversation

@edgchen1
Copy link

Background: On a Windows ARM system, I observed that cpuinfo_has_arm_fp16_arith() started to return false after upgrading to a more recent cpuinfo version.

In #333, the initialization of cpuinfo_isa.fp16arith was updated to use IsProcessorFeaturePresent(PF_ARM_V82_FP16_INSTRUCTIONS_AVAILABLE). I suspect that this is not supported on older Windows versions.

This change adds a fallback path to set cpuinfo_isa.fp16arith the old way.

// Assume that Dot Product support implies FP16
// arithmetics and RDM support. ARM manuals don't
// guarantee that, but it holds in practice.
cpuinfo_isa.fp16arith = dotprod;

@meta-cla meta-cla bot added the cla signed label Nov 21, 2025
@edgchen1
Copy link
Author

Hi @tonybaloney, would you mind taking a look at this one?

@tonybaloney
Copy link
Contributor

What chip is it?

@edgchen1
Copy link
Author

What chip is it?

This was observed on an Azure Standard D16pds v5 machine with an Ampere Altra processor.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants