summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/cpu/hwlocMemory.hpp
blob: 2130c2ced86cab8a05ee2f00d71210af3488460a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

#include <cstddef>

/** pin memory to NUMA node
 *
 * Set the default memory policy for the current thread to bind memory to the
 * NUMA node.
 *
 * @param puId core id
 */
void bindMemoryToNUMANode( size_t puId );
OpenPOWER on IntegriCloud