Skip to content

Commit

Permalink
Create main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
vasudevanubrolu authored Feb 29, 2020
0 parents commit 82a5ffa
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <omp.h>

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char* argv[])
{

// Beginning of parallel region
#pragma omp parallel
{

printf("Hello World... from thread = %d\n",
omp_get_thread_num());
}

}

0 comments on commit 82a5ffa

Please sign in to comment.