Add device count print from target as host
#include <stdio.h>
+#include <omp.h>
int arr[100];
int nt =12;
int main()
{
+ fprintf(stderr, "Omp host get_num_devices %d\n", omp_get_num_devices());
#pragma omp target teams distribute parallel for num_threads(nt)
for (int i=0; i<100;i++)
arr[i] =i;
