Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CPUINFO for all Windows build #19655

Merged
merged 15 commits into from
Mar 2, 2024

Conversation

snnn
Copy link
Member

@snnn snnn commented Feb 26, 2024

Description

It was disabled in PR #9065. And the reason was:
" api-ms-win-core-kernel32-legacy-*.dll wasn't available in Windows 8 and was added in Windows 10, so cpuinfo breaks our Windows 8 support. I'm disabling it again."

We no longer support Windows 8. Therefore we can add CPUINFO back.

Motivation and Context

To make the code simpler. If in any case the library doesn't work as expected, we can submit a PR to their code base and fix it.

@snnn snnn requested a review from yufenglee February 26, 2024 20:07
@snnn snnn force-pushed the snnn/enable_cpuinfo_for_onecore branch from fef0732 to d702611 Compare February 27, 2024 00:01
@snnn snnn changed the title Enable CPUINFO for onecore build Enable CPUINFO for all Windows build Feb 27, 2024
@snnn snnn requested a review from chenfucn February 28, 2024 00:33
chenfucn
chenfucn previously approved these changes Mar 1, 2024
@snnn snnn merged commit a0521f8 into microsoft:main Mar 2, 2024
92 of 94 checks passed
@snnn snnn deleted the snnn/enable_cpuinfo_for_onecore branch March 2, 2024 00:23
snnn added a commit that referenced this pull request Mar 6, 2024
…ging pipeline (#19786)

### Description
1. Upgrade the version from 10.0.19041.0 to 10.0.22621.0. The old one
misses some macros that are needed by PyTorch's CPUINFO
2. Also update cmake.


### Motivation and Context
In PR #19655 I added CPUINFO to all Windows builds, but forgot to test
this pipeline.
zz002 pushed a commit to zz002/onnxruntime that referenced this pull request Mar 7, 2024
### Description
It was disabled in PR microsoft#9065. And the reason was:
" api-ms-win-core-kernel32-legacy-*.dll wasn't available in Windows 8
and was added in Windows 10, so cpuinfo breaks our Windows 8 support.
I'm disabling it again."

We no longer support Windows 8.  Therefore we can add CPUINFO back.

### Motivation and Context
To make the code simpler. If in any case the library doesn't work as
expected, we can submit a PR to their code base and fix it.
zz002 pushed a commit to zz002/onnxruntime that referenced this pull request Mar 7, 2024
…ging pipeline (microsoft#19786)

### Description
1. Upgrade the version from 10.0.19041.0 to 10.0.22621.0. The old one
misses some macros that are needed by PyTorch's CPUINFO
2. Also update cmake.


### Motivation and Context
In PR microsoft#19655 I added CPUINFO to all Windows builds, but forgot to test
this pipeline.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants