1.23
2.0
acw/focus-triggers
main
test-branch
| Line | |
|---|
| 1 | !!!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~!!!
|
|---|
| 2 | !!! Copyright (c) 2017-20, Lawrence Livermore National Security, LLC
|
|---|
| 3 | !!! and DataRaceBench project contributors. See the DataRaceBench/COPYRIGHT file for details.
|
|---|
| 4 | !!!
|
|---|
| 5 | !!! SPDX-License-Identifier: (BSD-3-Clause)
|
|---|
| 6 | !!!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~!!!
|
|---|
| 7 |
|
|---|
| 8 | !Simplest one dimension array computation. No data race pairs.
|
|---|
| 9 |
|
|---|
| 10 | program DRB045_doall1_orig_no
|
|---|
| 11 | use omp_lib
|
|---|
| 12 | implicit none
|
|---|
| 13 |
|
|---|
| 14 | integer :: i
|
|---|
| 15 | integer :: a(100)
|
|---|
| 16 |
|
|---|
| 17 | !$omp parallel do
|
|---|
| 18 | do i = 1, 100
|
|---|
| 19 | a(i) = a(i)+1
|
|---|
| 20 | end do
|
|---|
| 21 | !$omp end parallel do
|
|---|
| 22 |
|
|---|
| 23 | end program
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.