-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Link tbbbind against static HWLOC instead of HWLOC 1.11 #1631
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
Conversation
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
Co-authored-by: Aleksei Fedotov <aleksei.fedotov@intel.com>
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
@@ -79,12 +79,17 @@ TEST_CASE("Test core types topology traversal correctness") { | |||
TEST_CASE("Test validity of NUMA interfaces when HWLOC is not present on the system") { | |||
std::vector<oneapi::tbb::numa_node_id> numa_indexes = oneapi::tbb::info::numa_nodes(); | |||
|
|||
#if __TBB_PORTABLE_TBBBIND_AVAILABLE | |||
REQUIRE_MESSAGE(numa_indexes[0] != -1, |
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 am not sure why -1
is used below. Is not that there automatic
value for this or are these values unrelated?
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.
Constraints are set to task_arena::automatic
by default. Don't know why in wasn't used in this test.
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.
let's use task_arena::automatic
then.
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.
Changed.
Co-authored-by: Aleksei Fedotov <aleksei.fedotov@intel.com>
@@ -79,12 +79,17 @@ TEST_CASE("Test core types topology traversal correctness") { | |||
TEST_CASE("Test validity of NUMA interfaces when HWLOC is not present on the system") { | |||
std::vector<oneapi::tbb::numa_node_id> numa_indexes = oneapi::tbb::info::numa_nodes(); | |||
|
|||
#if __TBB_PORTABLE_TBBBIND_AVAILABLE | |||
REQUIRE_MESSAGE(numa_indexes[0] != -1, |
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.
let's use task_arena::automatic
then.
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
Signed-off-by: Isaev, Ilya <ilya.isaev@intel.com>
Description
Reserve "tbbbind" library name for the library, statically linked with HWLOC 2.x instead of HWLOC 1.11 as was proposed in https://github.com/uxlfoundation/oneTBB/blob/master/rfcs/proposed/numa_support/tbbbind-link-static-hwloc.org#proposal
Fixes # - issue number(s) if exists
Type of change
Choose one or multiple, leave empty if none of the other choices apply
Add a respective label(s) to PR if you have permissions
Tests
Documentation
Breaks backward compatibility
Notify the following users
List users with
@
to send notificationsOther information