File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -122,8 +122,7 @@ TEST_CASE("Test constraints argument in create_numa_task_arenas") {
122122 system_info::initialize ();
123123 auto numa_indices = tbb::info::numa_nodes ();
124124 for (const auto & constraints : generate_constraints_variety ()) {
125- multi_core_type_helper helper{constraints};
126- if (helper.selectable ()) {
125+ if (tbb::detail::multi_core_type_codec::is_encoded (constraints.core_type )) {
127126 continue ; // skip constraints with custom core type selector, because create_numa_task_arenas doesn't support it
128127 }
129128 auto numa_task_arenas = tbb::create_numa_task_arenas (constraints);
@@ -132,7 +131,7 @@ TEST_CASE("Test constraints argument in create_numa_task_arenas") {
132131
133132 expected_constraint.set_numa_id (numa_indices[i]);
134133 test_constraints_affinity_and_concurrency (expected_constraint,
135- helper ,
134+ multi_core_type_helper{expected_constraint} ,
136135 get_arena_affinity (numa_task_arenas[i]));
137136 }
138137 }
You can’t perform that action at this time.
0 commit comments