mxe/src/libgomp-test.c

18 lines
355 B
C
Raw Normal View History

/* This file is part of mingw-cross-env. */
/* See doc/index.html for further information. */
#include <omp.h>
#include <stdio.h>
2010-05-09 22:21:01 +01:00
int main(int argc, char *argv[])
{
(void)argc;
(void)argv;
#pragma omp parallel
printf("Hello from thread %d, nthreads %d\n",
omp_get_thread_num(), omp_get_num_threads());
return 0;
}