Skip to content

Commit

Permalink
Merge pull request #3008 from STEllAR-GROUP/remove-get_full_machine_mask
Browse files Browse the repository at this point in the history
Remove unused internal function
  • Loading branch information
hkaiser committed Nov 19, 2017
2 parents 051b74e + 32a8434 commit 05a2335
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/runtime/threads/policies/affinity_data.cpp
Expand Up @@ -28,15 +28,6 @@ namespace hpx { namespace detail

namespace hpx { namespace threads { namespace policies { namespace detail
{
static mask_type get_full_machine_mask(std::size_t num_threads)
{
threads::mask_type m = threads::mask_type();
threads::resize(m, hardware_concurrency());
for (std::size_t i = 0; i != num_threads; ++i)
threads::set(m, i);
return m;
}

std::size_t get_pu_offset(util::command_line_handling const& cfg)
{
std::size_t pu_offset = std::size_t(-1);
Expand Down

0 comments on commit 05a2335

Please sign in to comment.