Hi.
I noticed that the following program, compiled with nvc -mp=multicore
fails the assertion.
#include <omp.h>
#include <stdio.h>
#include <assert.h>
int main()
{
#pragma omp parallel
{
int*a[] = {NULL};
assert(a[0]==NULL);
}
}
It seems like the initialization of the thread-local pointers array is not working.
Noticed with nvc-22.9 and nvc-23.1 for Linux_x86_64.