Skip to content

Conversation

@fbarchard
Copy link
Collaborator

@fbarchard fbarchard commented Dec 29, 2025

Copy / paste error for blizzard had 2 return statements.

Remove the duplicate return
Fix comments for CPUFAMILY to match what the case/return are for

Fixes #361

- Fix a copy/paste error in uarch detect for Apple blizzard/avalanche uarch
- Add comment for A14/M1 and A15/M2 cpufamily
@meta-cla meta-cla bot added the cla signed label Dec 29, 2025
#ifndef CPUFAMILY_ARM_LIGHTNING_THUNDER
#define CPUFAMILY_ARM_LIGHTNING_THUNDER 0x462504D2
#endif
// A14 / M1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove these comments?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh sorry you added comments. lol my bad. looks better

@kimishpatel kimishpatel merged commit e3f82e8 into pytorch:main Dec 30, 2025
12 checks passed
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.

Apple decode_uarch has duplicate return and incorrect comments

2 participants