search for: numa_alloc_onnode

Displaying 1 result from an estimated 1 matches for "numa_alloc_onnode".

2014 Oct 22
2
Using a custom memory allocation function in R
...s) in R. The reason for this is that I need my data to be 64bit aligned and I would like to use the numa library for having control over which memory node is used (I'm working on compute nodes with four 12-core AMD Opteron 6174 CPUs). Now I have two functions for allocating and freeing memory: numa_alloc_onnode and numa_free(courtesy of http://stackoverflow.com/questions/8154162/numa-aware-cache-aligned-memory-allocation). I'm using R version 3.1.1, so I have access to the function allocVector3(src/main/memory.c), which seems to me as the intended way of adding a custom memory allocator. I also found...