[Openmp-commits] [PATCH] D90971: [OpenMP] Add OpenMP 5.1 omp_realloc function implementation
Joachim Protze via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Nov 17 03:53:13 PST 2020
protze.joachim added a comment.
The tests have the same format type issue as in D90967 <https://reviews.llvm.org/D90967>. Feel free to include the fixes for the calloc tests in this review.
================
Comment at: openmp/runtime/test/api/omp_realloc_def_fb.c:19-20
+ f_a = omp_init_allocator(omp_default_mem_space, 2, at);
+ printf("allocator large created: %p\n", a);
+ printf("allocator default created: %p\n", f_a);
+
----------------
================
Comment at: openmp/runtime/test/api/omp_realloc_null_ptr.c:20-21
+ f_a = omp_init_allocator(omp_default_mem_space, 2, at);
+ printf("allocator large created: %p\n", a);
+ printf("allocator default created: %p\n", f_a);
+
----------------
================
Comment at: openmp/runtime/test/api/omp_realloc_size_0.c:20-21
+ f_a = omp_init_allocator(omp_default_mem_space, 2, at);
+ printf("allocator large created: %p\n", a);
+ printf("allocator default created: %p\n", f_a);
+
----------------
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D90971/new/
https://reviews.llvm.org/D90971
More information about the Openmp-commits
mailing list