brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 9e2ef17 Raw
29 lines · c
1// clang-format off2// 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-generic8// RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefix=FIRST9// 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-generic16// RUN: %fcheck-plain-generic --input-file %t.pre.ll %S/empty_kernel.inc --check-prefixes=FIRST,SECOND17//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-generic24// clang-format on25 26// REQUIRES: gpu27 28#include "empty_kernel.inc"29