1 // RUN: %libomptarget-compile-generic
2 // RUN: env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 \
3 // RUN: %fcheck-generic
5 // REQUIRES: libomptarget-debug
10 extern void __tgt_rtl_init(void);
11 extern void __tgt_rtl_deinit(void);
13 // Sanity checks to make sure that this works and is thread safe.
15 // CHECK: Init offload library!
16 // CHECK: Deinit offload library!
18 #pragma omp parallel num_threads(8)