Repository navigation
Adding a dep on cpuinfo - #3292
Merged
Merged
Conversation
In cmake we build the cpuinfo tools (cpu-info, cache-info, etc) by default so that they can be used for diagnostics.
benvanik
force-pushed
the
benvanik-cpuid
branch
from
September 29, 2020 22:36
be4e219 to
d65ea5c
Compare
benvanik
marked this pull request as ready for review
September 29, 2020 22:43
antiagainst
approved these changes
Sep 30, 2020
antiagainst
left a comment
Member
There was a problem hiding this comment.
LGTM. But it would be good to give build cops (@hanhanW, @GMNGeoffrey) a heads up as this might means some work for integration.
Merged
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will be used to query for CPU information (cache topology, etc) at runtime to determine work distribution. We'll also be able to provide the architecture information to both runtime HAL queries and kernels to allow specialization on architecture.
This initial PR adds the submodule and gets the cpuinfo tool executables building under cmake. XNNPACK uses this library and it should hopefully make integration into the google branch (relatively) painless.