Skip to content

Adding a dep on cpuinfo - #3292

Merged
benvanik merged 3 commits into
mainfrom
benvanik-cpuid
Oct 1, 2020
Merged

benvanik merged 3 commits into
mainfrom
benvanik-cpuid

Conversation

@benvanik

@benvanik benvanik commented Sep 29, 2020 •

Copy link
Copy Markdown
Collaborator

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.

@benvanik benvanik added the runtime Relating to the IREE runtime library label Sep 29, 2020
@benvanik benvanik added this to the 2020Q3 Core milestone Sep 29, 2020
@google-cla google-cla Bot added the cla: yes label Sep 29, 2020
In cmake we build the cpuinfo tools (cpu-info, cache-info, etc) by default
so that they can be used for diagnostics.
@benvanik
benvanik marked this pull request as ready for review September 29, 2020 22:43

@antiagainst antiagainst left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. But it would be good to give build cops (@hanhanW, @GMNGeoffrey) a heads up as this might means some work for integration.

@benvanik benvanik modified the milestones: 2020Q3 Core, 2020Q4 Core Oct 1, 2020
@benvanik
benvanik merged commit da79d9b into main Oct 1, 2020
@benvanik
benvanik deleted the benvanik-cpuid branch October 1, 2020 16:52
@hanhanW hanhanW mentioned this pull request Oct 1, 2020
@benvanik benvanik mentioned this pull request Oct 2, 2020
6 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

runtime Relating to the IREE runtime library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants