From f902e467b75671d06d1e9ad3663b8aa9366bc14b Mon Sep 17 00:00:00 2001 From: Jonathan Peyton Date: Mon, 13 Nov 2017 17:44:48 +0000 Subject: [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 --- openmp/testsuite/c/omp_task_shared.c | 47 ------------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 openmp/testsuite/c/omp_task_shared.c (limited to 'openmp/testsuite/c/omp_task_shared.c') diff --git a/openmp/testsuite/c/omp_task_shared.c b/openmp/testsuite/c/omp_task_shared.c deleted file mode 100644 index 74c2109e3ac..00000000000 --- a/openmp/testsuite/c/omp_task_shared.c +++ /dev/null @@ -1,47 +0,0 @@ - - Test to see if implied shared works correctly -3.0 -omp task -omp single, omp task firstprivate - -#include -#include -#include "omp_testsuite.h" - - - - -/* Utility function do spend some time in a loop */ -int omp_task_imp_shared (FILE * logFile) -{ - - int i; - - i=0; - int k = 0; - int result = 0; - - #pragma omp parallel - { - #pragma omp single - for (k = 0; k < NUM_TASKS; k++) - { - - #pragma omp task firstprivate(i) shared(i) - { - #pragma omp atomic - i++; - //this should be shared implicitly - - } - - } - - } - -result = i; -return ((result == NUM_TASKS)); - -} - - -- cgit v1.2.3