[llvm-branch-commits] [openmp] aa3a59e - [OpenMP][NFC] Fix test
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 18 13:10:46 PST 2021
Author: AndreyChurbanov
Date: 2021-01-19T00:05:34+03:00
New Revision: aa3a59e0c69e16ff25ee991636247f9f99bfc34d
URL: https://github.com/llvm/llvm-project/commit/aa3a59e0c69e16ff25ee991636247f9f99bfc34d
DIFF: https://github.com/llvm/llvm-project/commit/aa3a59e0c69e16ff25ee991636247f9f99bfc34d.diff
LOG: [OpenMP][NFC] Fix test
The test fails if memkind library is accessible.
Added:
Modified:
openmp/runtime/test/api/omp_alloc_null_fb.c
Removed:
################################################################################
diff --git a/openmp/runtime/test/api/omp_alloc_null_fb.c b/openmp/runtime/test/api/omp_alloc_null_fb.c
index e08456e7ae2c..9ed2d8cc405b 100644
--- a/openmp/runtime/test/api/omp_alloc_null_fb.c
+++ b/openmp/runtime/test/api/omp_alloc_null_fb.c
@@ -11,8 +11,8 @@ int main() {
at[0].value = 2 * 1024 * 1024;
at[1].key = omp_atk_fallback;
at[1].value = omp_atv_null_fb;
- a = omp_init_allocator(omp_large_cap_mem_space, 2, at);
- printf("allocator large created: %p\n", (void *)a);
+ a = omp_init_allocator(omp_default_mem_space, 2, at);
+ printf("allocator created: %p\n", (void *)a);
#pragma omp parallel num_threads(2)
{
int i = omp_get_thread_num();
More information about the llvm-branch-commits
mailing list