1 | // clang-format off |
---|---|
2 | // RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \ |
3 | // RUN: -DTGT1_DIRECTIVE="target" \ |
4 | // RUN: -DLOOP_DIRECTIVE="for" |
5 | // RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \ |
6 | // RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \ |
7 | // RUN: %libomptarget-run-generic |
8 | // RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefix=FIRST |
9 | // RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \ |
10 | // RUN: -DTGT1_DIRECTIVE="target" \ |
11 | // RUN: -DTGT2_DIRECTIVE="target" \ |
12 | // RUN: -DLOOP_DIRECTIVE="for" |
13 | // RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \ |
14 | // RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \ |
15 | // RUN: %libomptarget-run-generic |
16 | // RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefixes=FIRST,SECOND |
17 | // |
18 | // RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \ |
19 | // RUN: -DTGT1_DIRECTIVE="target" \ |
20 | // RUN: -DLOOP_DIRECTIVE="parallel for" |
21 | // RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \ |
22 | // RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \ |
23 | // RUN: %libomptarget-run-generic |
24 | // clang-format on |
25 | |
26 | // REQUIRES: gpu |
27 | |
28 | #include "empty_kernel.inc" |
29 |