[Openmp-commits] [openmp] 3611300 - [OpenMP][FIX] Update tests after D157725

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 24 16:28:27 PDT 2023


Author: Johannes Doerfert
Date: 2023-08-24T16:28:10-07:00
New Revision: 3611300a320b02beaa705ee7eb2c5d1c0f846d45

URL: https://github.com/llvm/llvm-project/commit/3611300a320b02beaa705ee7eb2c5d1c0f846d45
DIFF: https://github.com/llvm/llvm-project/commit/3611300a320b02beaa705ee7eb2c5d1c0f846d45.diff

LOG: [OpenMP][FIX] Update tests after D157725

Added: 
    

Modified: 
    openmp/libomptarget/test/offloading/info.c

Removed: 
    


################################################################################
diff  --git a/openmp/libomptarget/test/offloading/info.c b/openmp/libomptarget/test/offloading/info.c
index c2f8450064106d..ecb5efb9b257e1 100644
--- a/openmp/libomptarget/test/offloading/info.c
+++ b/openmp/libomptarget/test/offloading/info.c
@@ -22,7 +22,8 @@ int main() {
   int C[N];
   int val = 1;
 
-// INFO: info: Entering OpenMP data region at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
+// clang-format off
+// INFO: info: Entering OpenMP data region with being_mapper at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
 // INFO: info: alloc(A[0:64])[256]
 // INFO: info: tofrom(B[0:64])[256]
 // INFO: info: to(C[0:64])[256]
@@ -45,7 +46,7 @@ int main() {
 // INFO: info: {{.*}}             {{.*}}             256      1           0            C[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
 // INFO: info: {{.*}}             {{.*}}             256      0           1            B[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
 // INFO: info: {{.*}}             {{.*}}             256      1           0            A[0:64] at info.c:{{[0-9]+}}:{{[0-9]+}}
-// INFO: info: Exiting OpenMP data region at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
+// INFO: info: Exiting OpenMP data region with end_mapper at info.c:{{[0-9]+}}:{{[0-9]+}} with 3 arguments:
 // INFO: info: alloc(A[0:64])[256]
 // INFO: info: tofrom(B[0:64])[256]
 // INFO: info: to(C[0:64])[256]
@@ -56,6 +57,7 @@ int main() {
 // INFO: info: OpenMP Host-Device pointer mappings after block at info.c:[[#%u,]]:[[#%u,]]:
 // INFO: info: Host Ptr  Target Ptr Size (B) DynRefCount HoldRefCount Declaration
 // INFO: info: [[#%#x,]] [[#%#x,]]  4        INF         0            global at unknown:0:0
+// clang-format on
 #pragma omp target data map(alloc : A[0 : N])                                  \
     map(ompx_hold, tofrom : B[0 : N]) map(to : C[0 : N])
 #pragma omp target firstprivate(val)


        


More information about the Openmp-commits mailing list