@@ -22,7 +22,8 @@ int main() {
22
22
int C [N ];
23
23
int val = 1 ;
24
24
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:
26
27
// INFO: info: alloc(A[0:64])[256]
27
28
// INFO: info: tofrom(B[0:64])[256]
28
29
// INFO: info: to(C[0:64])[256]
@@ -45,7 +46,7 @@ int main() {
45
46
// INFO: info: {{.*}} {{.*}} 256 1 0 C[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
46
47
// INFO: info: {{.*}} {{.*}} 256 0 1 B[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
47
48
// 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:
49
50
// INFO: info: alloc(A[0:64])[256]
50
51
// INFO: info: tofrom(B[0:64])[256]
51
52
// INFO: info: to(C[0:64])[256]
@@ -56,6 +57,7 @@ int main() {
56
57
// INFO: info: OpenMP Host-Device pointer mappings after block at info.c:[[#%u,]]:[[#%u,]]:
57
58
// INFO: info: Host Ptr Target Ptr Size (B) DynRefCount HoldRefCount Declaration
58
59
// INFO: info: [[#%#x,]] [[#%#x,]] 4 INF 0 global at unknown:0:0
60
+ // clang-format on
59
61
#pragma omp target data map(alloc : A[0 : N]) \
60
62
map(ompx_hold, tofrom : B[0 : N]) map(to : C[0 : N])
61
63
#pragma omp target firstprivate(val)
0 commit comments