34 lines · c
1// clang-format off2// RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \3// RUN: -DTGT1_DIRECTIVE="target"4// RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \5// RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \6// RUN: %libomptarget-run-generic7// RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefix=FIRST8// RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \9// RUN: -DTGT1_DIRECTIVE="target" \10// RUN: -DTGT2_DIRECTIVE="target"11// RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \12// RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \13// RUN: %libomptarget-run-generic14// RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefixes=FIRST15//16// RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \17// RUN: -DTGT1_DIRECTIVE="target teams"18// RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \19// RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \20// RUN: %libomptarget-run-generic21// RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefix=FIRST22// RUN: %libomptarget-compileopt-generic -fopenmp-target-jit \23// RUN: -DTGT1_DIRECTIVE="target teams" \24// RUN: -DTGT2_DIRECTIVE="target teams"25// RUN: env LIBOMPTARGET_JIT_PRE_OPT_IR_MODULE=%t.pre.ll \26// RUN: LIBOMPTARGET_JIT_SKIP_OPT=true \27// RUN: %libomptarget-run-generic28// RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefixes=FIRST,SECOND29// clang-format on30 31// REQUIRES: gpu32 33#include "empty_kernel.inc"34