forked from OSchip/llvm-project
[OpenMP][libomptarget] Separate lit tests for different offloading targets (2/2)
This patch fuses the RUN lines for most libomptarget tests. The previous patch D101315 created separate test targets for each supported offloading triple. This patch updates the RUN lines in libomptarget tests to use a generic run line independent of the offloading target selected for the lit instance. In cases, where no RUN line was defined for a specific offloading target, the corresponding target is declared as XFAIL. If it turns out that a test actually supports the target, the XFAIL line can be removed. Differential Revision: https://reviews.llvm.org/D101326
This commit is contained in:
parent
4b99f9c7db
commit
24f836e8fd
|
@ -1,6 +1,9 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -DUNUSED -Wall -Werror
|
||||
|
||||
// only run for x86_64 host offloading:
|
||||
// REQUIRES: x86_64-pc-linux-gnu
|
||||
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic
|
||||
// REQUIRES: libomptarget-debug
|
||||
|
||||
#include <stdlib.h>
|
||||
|
@ -48,4 +44,3 @@ int main(void) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu -allow-empty -check-prefix=NDEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu -allow-empty -check-prefix=NDEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu -allow-empty -check-prefix=NDEBUG
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu -allow-empty -check-prefix=NDEBUG
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda -allow-empty -check-prefix=NDEBUG
|
||||
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=NDEBUG
|
||||
// REQUIRES: libomptarget-debug
|
||||
|
||||
int main(void) {
|
||||
|
|
|
@ -129,18 +129,16 @@ for libomptarget_target in config.libomptarget_all_targets:
|
|||
"%libomptarget-run-" + libomptarget_target))
|
||||
config.substitutions.append(("%libomptarget-compilexx-" + \
|
||||
libomptarget_target, \
|
||||
"%clangxx-" + libomptarget_target + " %s -o %t-" + \
|
||||
libomptarget_target))
|
||||
"%clangxx-" + libomptarget_target + " %s -o %t"))
|
||||
config.substitutions.append(("%libomptarget-compile-" + \
|
||||
libomptarget_target, \
|
||||
"%clang-" + libomptarget_target + " %s -o %t-" + \
|
||||
libomptarget_target))
|
||||
"%clang-" + libomptarget_target + " %s -o %t"))
|
||||
config.substitutions.append(("%libomptarget-run-" + \
|
||||
libomptarget_target, \
|
||||
"%t-" + libomptarget_target))
|
||||
"%t"))
|
||||
config.substitutions.append(("%libomptarget-run-fail-" + \
|
||||
libomptarget_target, \
|
||||
"%not --crash %t-" + libomptarget_target))
|
||||
"%not --crash %t"))
|
||||
config.substitutions.append(("%clangxx-" + libomptarget_target, \
|
||||
"%clangxx %openmp_flags %flags -fopenmp-targets=" + libomptarget_target))
|
||||
config.substitutions.append(("%clang-" + libomptarget_target, \
|
||||
|
|
|
@ -1,22 +1,6 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-run-fail-nvptx64-nvidia-cuda 2>&1 \
|
||||
// RUN: | %fcheck-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-generic
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// CHECK: Libomptarget message: explicit extension not allowed: host address specified is 0x{{.*}} (8 bytes), but device allocation maps to host at 0x{{.*}} (8 bytes)
|
||||
// CHECK: Libomptarget error: Call to getOrAllocTgtPtr returned null pointer (device failure or illegal mapping).
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
@ -24,10 +20,10 @@ int main() {
|
|||
}
|
||||
#pragma omp target data map(mapper(id),tofrom: c)
|
||||
{
|
||||
#pragma omp target teams distribute parallel for
|
||||
for (int i = 0; i < NUM; i++) {
|
||||
++c.a[i];
|
||||
}
|
||||
#pragma omp target teams distribute parallel for
|
||||
for (int i = 0; i < NUM; i++) {
|
||||
++c.a[i];
|
||||
}
|
||||
}
|
||||
int sum = 0;
|
||||
for (int i = 0; i < NUM; i++) {
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
// Clang 6.0 doesn't use the new map interface, undefined behavior when
|
||||
// the compiler emits "old" interface code for structures.
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -2,49 +2,20 @@
|
|||
// Check extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
// END.
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -2,49 +2,20 @@
|
|||
// Check extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
// END.
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -2,49 +2,20 @@
|
|||
// Check 'to'
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'from'
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -2,97 +2,38 @@
|
|||
// Check 'to' and extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'from' and extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'to' and extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'from' and extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
// END.
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,18 +1,7 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -fopenmp-version=51
|
||||
// RUN: %libomptarget-run-fail-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -2,49 +2,20 @@
|
|||
// Check extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -fopenmp-version=51 -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
// END.
|
||||
|
||||
|
|
|
@ -1,19 +1,8 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-generic
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
//
|
||||
// END.
|
||||
|
||||
#include <omp.h>
|
||||
|
|
|
@ -2,97 +2,38 @@
|
|||
// Check 'to' and extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'from' and extends before
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=BEFORE
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'to' and extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -DCLAUSE=to -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// --------------------------------------------------
|
||||
// Check 'from' and extends after
|
||||
// --------------------------------------------------
|
||||
|
||||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu \
|
||||
// RUN: %libomptarget-compile-generic \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-run-generic 2>&1 \
|
||||
// RUN: | %fcheck-generic
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu \
|
||||
// RUN: -DCLAUSE=from -DEXTENDS=AFTER
|
||||
// RUN: %libomptarget-run-x86_64-pc-linux-gnu 2>&1 \
|
||||
// RUN: | %fcheck-x86_64-pc-linux-gnu
|
||||
|
||||
// END.
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %libomptarget-compilexx-nvptx64-nvidia-cuda && %libomptarget-run-fail-nvptx64-nvidia-cuda
|
||||
// REQUIRES: nvptx64-nvidia-cuda
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
#pragma omp target
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-aarch64-unknown-linux-gnu -O3 && %libomptarget-run-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-powerpc64-ibm-linux-gnu -O3 && %libomptarget-run-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-powerpc64le-ibm-linux-gnu -O3 && %libomptarget-run-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-x86_64-pc-linux-gnu -O3 && %libomptarget-run-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-nvptx64-nvidia-cuda -O3 && %libomptarget-run-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-aarch64-unknown-linux-gnu | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-powerpc64-ibm-linux-gnu | %fcheck-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-powerpc64le-ibm-linux-gnu | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-x86_64-pc-linux-gnu | %fcheck-x86_64-pc-linux-gnu -allow-empty
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-nvptx64-nvidia-cuda | %fcheck-nvptx64-nvidia-cuda -allow-empty
|
||||
// RUN: %libomptarget-compile-generic && env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-generic | %fcheck-generic -allow-empty
|
||||
|
||||
#include <assert.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -DSHARED -fPIC -shared -o %t.so && %libomptarget-compile-aarch64-unknown-linux-gnu %t.so && %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -DSHARED -fPIC -shared -o %t.so && %libomptarget-compile-powerpc64-ibm-linux-gnu %t.so && %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -DSHARED -fPIC -shared -o %t.so && %libomptarget-compile-powerpc64le-ibm-linux-gnu %t.so && %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -DSHARED -fPIC -shared -o %t.so && %libomptarget-compile-x86_64-pc-linux-gnu %t.so && %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda -DSHARED -fPIC -shared -o %t.so && %libomptarget-compile-nvptx64-nvidia-cuda %t.so && %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && %libomptarget-compile-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic
|
||||
|
||||
#ifdef SHARED
|
||||
void foo() {}
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t-aarch64-unknown-linux-gnu -ldl && %libomptarget-run-aarch64-unknown-linux-gnu %t.so 2>&1 | %fcheck-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t-powerpc64-ibm-linux-gnu -ldl && %libomptarget-run-powerpc64-ibm-linux-gnu %t.so 2>&1 | %fcheck-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t-powerpc64le-ibm-linux-gnu -ldl && %libomptarget-run-powerpc64le-ibm-linux-gnu %t.so 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t-x86_64-pc-linux-gnu -ldl && %libomptarget-run-x86_64-pc-linux-gnu %t.so 2>&1 | %fcheck-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t-nvptx64-nvidia-cuda -ldl && %libomptarget-run-nvptx64-nvidia-cuda %t.so 2>&1 | %fcheck-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t -ldl && %libomptarget-run-generic %t.so 2>&1 | %fcheck-generic
|
||||
|
||||
#ifdef SHARED
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -5,11 +5,7 @@
|
|||
// default device data are affected by the specified transfers.
|
||||
// - Works whether it's specified directly or as the default device.
|
||||
|
||||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda -gline-tables-only && env LIBOMPTARGET_INFO=31 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda -allow-empty -check-prefix=INFO
|
||||
// REQUIRES: nvptx64-nvidia-cuda
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,11 +1,7 @@
|
|||
// Check that a target exit data directive behaves correctly when the runtime
|
||||
// has not yet been initialized.
|
||||
|
||||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
|
||||
// REQUIRES: libomptarget-debug
|
||||
|
||||
/*
|
||||
|
|
|
@ -42,6 +42,8 @@
|
|||
// RUN: %libomptarget-run-fail-nvptx64-nvidia-cuda 2>&1 | \
|
||||
// RUN: %fcheck-nvptx64-nvidia-cuda
|
||||
|
||||
// REQUIRES: nvptx64-nvidia-cuda
|
||||
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <omp.h>
|
||||
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
|
||||
// REQUIRES: libomptarget-debug
|
||||
|
||||
#include <cstdio>
|
||||
|
@ -63,7 +59,6 @@ int main() {
|
|||
// DEBUG: offset 744
|
||||
// DEBUG: offset 864
|
||||
|
||||
|
||||
// case 2
|
||||
// double darr[3][4][5];
|
||||
// #pragma omp target update to(darr[0:2:2][2:2][:2:2])
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <cassert>
|
||||
#include <iostream>
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compile-aarch64-unknown-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-aarch64-unknown-linux-gnu 2>&1 | %fcheck-aarch64-unknown-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64-ibm-linux-gnu 2>&1 | %fcheck-powerpc64-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-powerpc64le-ibm-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-powerpc64le-ibm-linux-gnu 2>&1 | %fcheck-powerpc64le-ibm-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-x86_64-pc-linux-gnu && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-x86_64-pc-linux-gnu 2>&1 | %fcheck-x86_64-pc-linux-gnu -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-nvptx64-nvidia-cuda && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-nvptx64-nvidia-cuda 2>&1 | %fcheck-nvptx64-nvidia-cuda -allow-empty -check-prefix=DEBUG
|
||||
// RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG
|
||||
// REQUIRES: libomptarget-debug
|
||||
|
||||
/*
|
||||
|
|
|
@ -1,8 +1,4 @@
|
|||
// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
|
||||
// RUN: %libomptarget-compilexx-run-and-check-generic
|
||||
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
// XFAIL: nvptx64-nvidia-cuda
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
|
@ -1,9 +1,7 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
// UNSUPPORTED: clang-6, clang-7, clang-8, clang-9
|
||||
// XFAIL: nvptx64-nvidia-cuda
|
||||
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
// XFAIL: nvptx64-nvidia-cuda
|
||||
|
||||
// UNSUPPORTED: clang-6, clang-7, clang-8, clang-9
|
||||
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-x86_64-pc-linux-gnu
|
||||
// RUN: %libomptarget-compile-run-and-check-generic
|
||||
// XFAIL: nvptx64-nvidia-cuda
|
||||
|
||||
#include <stdio.h>
|
||||
#include <omp.h>
|
||||
|
|
Loading…
Reference in New Issue