diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2017-11-13 17:44:48 +0000 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2017-11-13 17:44:48 +0000 |
commit | f902e467b75671d06d1e9ad3663b8aa9366bc14b (patch) | |
tree | d6de4407663a1054506cd8b97d8a047f411e8cd8 /openmp/testsuite/fortran/single_private.f | |
parent | 9e3d8f4b39e29e4616e8addb1240530dbdfab2c4 (diff) | |
download | bcm5719-llvm-f902e467b75671d06d1e9ad3663b8aa9366bc14b.tar.gz bcm5719-llvm-f902e467b75671d06d1e9ad3663b8aa9366bc14b.zip |
[OpenMP] Remove the unused testsuite/ directory
The testsuite directory is not used or updated and confuses new users to the
OpenMP project. These tests were rewritten using the lit format and put under
the runtime/test directory. This patch removes the entire testsuite/ directory.
Differential Revision: https://reviews.llvm.org/D39767
llvm-svn: 318056
Diffstat (limited to 'openmp/testsuite/fortran/single_private.f')
-rw-r--r-- | openmp/testsuite/fortran/single_private.f | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/openmp/testsuite/fortran/single_private.f b/openmp/testsuite/fortran/single_private.f deleted file mode 100644 index 7ad4a6a1933..00000000000 --- a/openmp/testsuite/fortran/single_private.f +++ /dev/null @@ -1,51 +0,0 @@ -<ompts:test> -<ompts:testdescription>Test which checks the omp single private directive.</ompts:testdescription> -<ompts:ompversion>2.0</ompts:ompversion> -<ompts:directive>omp singel private</ompts:directive> -<ompts:dependences>omp critical,omp flush,omp single nowait</ompts:dependences> -<ompts:testcode> - INTEGER FUNCTION <ompts:testcode:functionname>single_private</ompts:testcode:functionname>() - IMPLICIT NONE - INTEGER nr_iterations, i - <ompts:orphan:vars> - INTEGER result - INTEGER nr_threads_in_single, myresult, myit - COMMON /orphvars/ result,nr_iterations - </ompts:orphan:vars> - INCLUDE "omp_testsuite.f" - nr_threads_in_single=0 - result=0 - myresult=0 - myit=0 - nr_iterations=0 -!$omp parallel private(i, myresult, myit) -<ompts:orphan> - myresult = 0 - myit = 0 - nr_threads_in_single=0 -!$omp barrier - DO i=0, LOOPCOUNT -1 -!$omp single <ompts:check>private(nr_threads_in_single)</ompts:check> - nr_threads_in_single = 0 -!$omp flush - nr_threads_in_single = nr_threads_in_single + 1 -!$omp flush - myit = myit + 1 - myresult = myresult + nr_threads_in_single -!$omp end single nowait - END DO -!$omp critical - result = result + nr_threads_in_single - nr_iterations = nr_iterations + myit -!$omp end critical -</ompts:orphan> -!$omp end parallel - WRITE(1,*) "result is",result,"nr_it is",nr_iterations - IF ( result .EQ. 0 .AND. nr_iterations .EQ. LOOPCOUNT) THEN - <testfunctionname></testfunctionname> = 1 - ELSE - <testfunctionname></testfunctionname> = 0 - END IF - END -</ompts:testcode> -</ompts:test> |