Commit f01467c3 authored by Branislav Jansik's avatar Branislav Jansik
Browse files

Update variables.c

parent 09ceac10
......@@ -10,7 +10,7 @@ var1 = -10;
printf ("Serial var1= %d, &var1= %p\n",var1,&var1);
#pragma omp parallel private(tid) reduction(+:var1)
#pragma omp parallel private(tid)
{
tid = omp_get_thread_num();
var1 = tid;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment