-
Notifications
You must be signed in to change notification settings - Fork 35
Fix Valgrind runs #176
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
Fix Valgrind runs #176
Conversation
9cac832
to
7fe4f3d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
others - please review as I'm on vacation
It should be set to the highest possible id of a node (highest bit set in the map) + 1, and not to number of nodes.
fix off by 1 error which resulted in reading one too many longs from the nodemask.
Hwloc requires dumping CPUID before running under valgrind.
7fe4f3d
to
03d9be9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we're using in CI hwloc in version 2.7.0 which should not require a fix for hwloc_bitmap_nr_ulongs
, but we may run valgrind on other OSes, so it's alright.
Rafał's issues resolved + 4 other approvals
No description provided.