Put static clause in OMP

new-context
Salvatore Filippone 4 years ago
parent 0acf10f0d8
commit 4292dd3490

@ -149,7 +149,7 @@ contains
if (beta == czero) then if (beta == czero) then
if (alpha == cone) then if (alpha == cone) then
!$omp parallel do private(i,j, acc) !$omp parallel do private(i,j, acc) schedule(static)
do i=1,m do i=1,m
acc = czero acc = czero
do j=irp(i), irp(i+1)-1 do j=irp(i), irp(i+1)-1

@ -149,7 +149,7 @@ contains
if (beta == dzero) then if (beta == dzero) then
if (alpha == done) then if (alpha == done) then
!$omp parallel do private(i,j, acc) !$omp parallel do private(i,j, acc) schedule(static)
do i=1,m do i=1,m
acc = dzero acc = dzero
do j=irp(i), irp(i+1)-1 do j=irp(i), irp(i+1)-1

@ -149,7 +149,7 @@ contains
if (beta == szero) then if (beta == szero) then
if (alpha == sone) then if (alpha == sone) then
!$omp parallel do private(i,j, acc) !$omp parallel do private(i,j, acc) schedule(static)
do i=1,m do i=1,m
acc = szero acc = szero
do j=irp(i), irp(i+1)-1 do j=irp(i), irp(i+1)-1

@ -149,7 +149,7 @@ contains
if (beta == zzero) then if (beta == zzero) then
if (alpha == zone) then if (alpha == zone) then
!$omp parallel do private(i,j, acc) !$omp parallel do private(i,j, acc) schedule(static)
do i=1,m do i=1,m
acc = zzero acc = zzero
do j=irp(i), irp(i+1)-1 do j=irp(i), irp(i+1)-1

Loading…
Cancel
Save