Skip to content

Commit

Permalink
Remove unused internal function, silences warning
Browse files Browse the repository at this point in the history
  • Loading branch information
K-ballo committed Nov 15, 2017
1 parent 0982398 commit 32a8434
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 32a8434

Please sign in to comment.