File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 44// : %fcheck-generic --check-prefixes=CHECK < %t.out
55// : %libomptarget-compileoptxx-generic -fsanitize=offload -O3
66// : not %libomptarget-run-generic 2> %t.out
7- // RUN: %libomptarget-compileoptxx-generic -fsanitize=offload -O3 -g
7+ // RUN: %libomptarget-compileoptxx-generic -fsanitize=offload -O3 -g -DLEVELS=11
88// RUN: not %libomptarget-run-generic 2> %t.out
9- // RUN: %fcheck-generic --check-prefixes=DEBUG < %t.out
9+ // RUN: %fcheck-generic --check-prefixes=DBG11 < %t.out
10+ // %libomptarget-compileoptxx-generic -fsanitize=offload -O3 -g -DLEVELS=12
11+ // not %libomptarget-run-generic 2> %t.out
12+ // %fcheck-generic --check-prefixes=DBG12 < %t.out
1013// clang-format on
1114
1215// UNSUPPORTED: aarch64-unknown-linux-gnu
@@ -33,10 +36,10 @@ int main(void) {
3336 int *ValidInt = (int *)omp_target_alloc (4 , omp_get_default_device ());
3437#pragma omp target is_device_ptr(ValidInt)
3538 {
36- level<12 >(ValidInt);
39+ level<LEVELS >(ValidInt);
3740 short *ValidShort = ((short *)ValidInt) + 2 ;
38- level<12 >(ValidShort);
41+ level<LEVELS >(ValidShort);
3942 char *Invalid = ((char *)ValidInt) + 4 ;
40- level<12 >(Invalid);
43+ level<LEVELS >(Invalid);
4144 }
4245}
You can’t perform that action at this time.
0 commit comments