diff options
| author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-07-26 18:15:02 +0000 |
|---|---|---|
| committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-07-26 18:15:02 +0000 |
| commit | 3a0e9b37f3b592722b39d867404e62bf45bb786b (patch) | |
| tree | 4b7adfe12b40142493db7ac863cb037402f5bab6 /openmp/runtime/src/kmp.h | |
| parent | 6fbbf27d98e9e48415bb152b43746ddaab7514f8 (diff) | |
| download | bcm5719-llvm-3a0e9b37f3b592722b39d867404e62bf45bb786b.tar.gz bcm5719-llvm-3a0e9b37f3b592722b39d867404e62bf45bb786b.zip | |
PR30734: Remove __kmp_ft_page_allocate()
This function was not enabled by default and not exported when manually
tweaking the build flags. Additionally it was hard to use since there
is no corresponding __kmp_ft_page_free().
The code itself is questionable because the returned memory address
is padded by an extra pointer which stores the unpadded start of the
allocated region (this would need to be freed).
Differential Revision: https://reviews.llvm.org/D49802
llvm-svn: 338052
Diffstat (limited to 'openmp/runtime/src/kmp.h')
| -rw-r--r-- | openmp/runtime/src/kmp.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/openmp/runtime/src/kmp.h b/openmp/runtime/src/kmp.h index 497907b10f8..00166002e24 100644 --- a/openmp/runtime/src/kmp.h +++ b/openmp/runtime/src/kmp.h @@ -129,15 +129,6 @@ class kmp_stats_list; #include "ompt-internal.h" #endif -/*Select data placement in NUMA memory */ -#define NO_FIRST_TOUCH 0 -#define FIRST_TOUCH 1 /* Exploit SGI's first touch page placement algo */ - -/* If not specified on compile command line, assume no first touch */ -#ifndef BUILD_MEMORY -#define BUILD_MEMORY NO_FIRST_TOUCH -#endif - // 0 - no fast memory allocation, alignment: 8-byte on x86, 16-byte on x64. // 3 - fast allocation using sync, non-sync free lists of any size, non-self // free lists of limited size. |

