Skip to content

Commit

Permalink
Update openmp_sample.f90 (#2371)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmytwei authored Jun 25, 2024
1 parent 6310039 commit bcc0cfe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ program ompPrime
!$omp end single

!$omp do private(factor, limit, prime) &
schedule(dynamic,10) &
reduction(+:number_of_primes,number_of_41primes,number_of_43primes)
!$omp& schedule(dynamic,10) &
!$omp& reduction(+:number_of_primes,number_of_41primes,number_of_43primes)

do index = start, end, 2 ! workshared loop

Expand Down

0 comments on commit bcc0cfe

Please sign in to comment.