Commit 11603e91 authored by Gaurav Kukreja's avatar Gaurav Kukreja

Autoparallelization

 - Added Compiler options in Makefile
 - Added hint in relax_jacobi.c\
Signed-off-by: 's avatarGaurav Kukreja <mailme.gaurav@gmail.com>
parent b7b0f5df
# Intel compiler
CC = icc
CFLAGS = -g
CFLAGS = -g -parallel -par-report3 -fargument-noalias
MPICC = mpicc
......
......@@ -45,6 +45,7 @@ double relax_jacobi_return_residual( double *u, double *utmp,
int i, j;
double unew, diff, sum=0.0;
#pragma parallel
for( i=1; i<sizey-1; i++ )
{
for( j=1; j<sizex-1; j++ )
......
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