hpx/compute/host/numa_binding_allocator.hpp¶
See Public API for a list of names and headers that are part of the public HPX API.
Defines
-
NUMA_BINDING_ALLOCATOR_DEBUG
¶
-
namespace
hpx
Functions
-
static hpx::debug::enable_print<NUMA_BINDING_ALLOCATOR_DEBUG> hpx::nba_deb("NUM_B_A")
-
namespace
compute
-
namespace
host
Typedefs
-
template<typename
T
>
structnuma_binding_allocator
¶ - #include <numa_binding_allocator.hpp>
The numa_binding_allocator allocates memory using a policy based on hwloc flags for memory binding. This allocator can be used to request data that is bound to one or more numa domains via the bitmap mask supplied
Public Types
-
typedef T
value_type
¶
-
typedef T *
pointer
¶
-
typedef T &
reference
¶
-
typedef T const &
const_reference
¶
Public Functions
-
numa_binding_allocator
()¶
-
numa_binding_allocator
(threads::hpx_hwloc_membind_policy policy, unsigned int flags)¶
-
numa_binding_allocator
(numa_binding_helper_ptr bind_func, threads::hpx_hwloc_membind_policy policy, unsigned int flags)¶
-
numa_binding_allocator
(numa_binding_allocator const &rhs)¶
-
template<typename
U
>numa_binding_allocator
(numa_binding_allocator<U> const &rhs)¶
-
numa_binding_allocator
(numa_binding_allocator &&rhs)¶
-
numa_binding_allocator &
operator=
(numa_binding_allocator const &rhs)¶
-
numa_binding_allocator &
operator=
(numa_binding_allocator &&rhs)¶
-
const_pointer
address
(const_reference x) const¶
-
int
get_numa_domain
(void *page)¶
-
std::string
display_binding
(pointer p, numa_binding_helper_ptr helper)¶
Public Members
-
const typedef T* hpx::compute::host::numa_binding_allocator::const_pointer
-
threads::hpx_hwloc_membind_policy
policy_
¶
-
unsigned int
flags_
¶
Protected Functions
-
std::vector<threads::hwloc_bitmap_ptr>
create_nodesets
(threads::hwloc_bitmap_ptr bitmap) const¶
-
void
touch_pages
(pointer p, size_t n, numa_binding_helper_ptr helper, size_type numa_domain, std::vector<threads::hwloc_bitmap_ptr> const &nodesets) const¶
-
void
bind_pages
(pointer p, size_t n, numa_binding_helper_ptr helper, size_type numa_domain, std::vector<threads::hwloc_bitmap_ptr> const &nodesets) const¶
-
typedef T
-
template<typename
T
>
structnuma_binding_helper
¶
-
template<typename
-
namespace
-