affinity

#include <compatibility/hpx/runtime/threads/policies/parse_affinity_options.hpp>

#include <compatibility/hpx/runtime/threads/policies/affinity_data.hpp>

#include <hpx/affinity/parse_affinity_options.hpp>

namespace hpx
namespace threads

Functions

void parse_affinity_options(std::string const &spec, std::vector<mask_type> &affinities, std::size_t used_cores, std::size_t max_cores, std::size_t num_threads, std::vector<std::size_t> &num_pus, bool use_process_mask, error_code &ec = throws)
void parse_affinity_options(std::string const &spec, std::vector<mask_type> &affinities, error_code &ec = throws)

#include <hpx/affinity/affinity_data.hpp>