Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Affinity-based Feature Query Restructuring#6

Open
awr1 wants to merge 8 commits intomasterfrom
multicore-feature-query
Open

Affinity-based Feature Query Restructuring#6
awr1 wants to merge 8 commits intomasterfrom
multicore-feature-query

Conversation

@awr1
Copy link
Owner

@awr1 awr1 commented Apr 30, 2021

Fixes #5, will ideally hold onto this until we can get this tested on Alder Lake samples. Work in progress.

awr1 added 8 commits April 29, 2021 22:38
Not tested yet, tries to query features on every thread,
requiring major restructuring. Added affinity parameter to
most available feature query functions.
By default feature queries should probably look at the current
core/thread, instead of the attributes of the first core.
pinToCPU() requires the thread actually be running (by virtue of, e.g.
SetThreadAffinityMask()), so we use a lock to coordinate this correctly.
Put stuff like hasCongruentISA() in main module, other procs like
currentAffinity() in new info_common module
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.

Core-specific Feature Query

1 participant

Comments