Skip to content

Commit 3611300

Browse files
committed
[OpenMP][FIX] Update tests after D157725
1 parent 82f4119 commit 3611300

File tree

1 file changed

+4
-2
lines changed
  • openmp/libomptarget/test/offloading

1 file changed

+4
-2
lines changed

openmp/libomptarget/test/offloading/info.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ int main() {
2222
int C[N];
2323
int val = 1;
2424

25-
// INFO: info: Entering OpenMP data region at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
25+
// clang-format off
26+
// INFO: info: Entering OpenMP data region with being_mapper at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
2627
// INFO: info: alloc(A[0:64])[256]
2728
// INFO: info: tofrom(B[0:64])[256]
2829
// INFO: info: to(C[0:64])[256]
@@ -45,7 +46,7 @@ int main() {
4546
// INFO: info: {{.*}} {{.*}} 256 1 0 C[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
4647
// INFO: info: {{.*}} {{.*}} 256 0 1 B[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
4748
// INFO: info: {{.*}} {{.*}} 256 1 0 A[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
48-
// INFO: info: Exiting OpenMP data region at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
49+
// INFO: info: Exiting OpenMP data region with end_mapper at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
4950
// INFO: info: alloc(A[0:64])[256]
5051
// INFO: info: tofrom(B[0:64])[256]
5152
// INFO: info: to(C[0:64])[256]
@@ -56,6 +57,7 @@ int main() {
5657
// INFO: info: OpenMP Host-Device pointer mappings after block at info.c:[[#%u,]]:[[#%u,]]:
5758
// INFO: info: Host Ptr Target Ptr Size (B) DynRefCount HoldRefCount Declaration
5859
// INFO: info: [[#%#x,]] [[#%#x,]] 4 INF 0 global at unknown:0:0
60+
// clang-format on
5961
#pragma omp target data map(alloc : A[0 : N]) \
6062
map(ompx_hold, tofrom : B[0 : N]) map(to : C[0 : N])
6163
#pragma omp target firstprivate(val)

0 commit comments

Comments
 (0)