[OpenMP][NFC] Fix test

The test fails if memkind library is accessible.
This commit is contained in:
AndreyChurbanov 2021-01-19 00:05:34 +03:00
parent d9b6e4d583
commit aa3a59e0c6
1 changed files with 2 additions and 2 deletions

View File

@ -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();