Revision 1569 trunk/tests/openmp/test_omp.cpp

test_omp.cpp (revision 1569)
6 6

  
7 7
class test_omp: public ::testing::Test {};
8 8

  
9
TEST_F(test_omp, example)
9
TEST_F(test_omp, hello_world)
10 10
{
11
  #pragma omp parallel
12
  printf("hello_world: thread %d, nthreads %d\n", omp_get_thread_num(), omp_get_num_threads());
11 13
}

Also available in: Unified diff