Have __kmpc_flush() be simple KMP_MFENCE() which incorporates x86-specific logic and reduces to KMP_MB() for other platforms.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D130928  
[OpenMP][libomp] Cleanup __kmpc_flush() code ClosedPublic Authored by jlpeyton on Aug 1 2022, 12:21 PM. 
Details Summary Have __kmpc_flush() be simple KMP_MFENCE() which incorporates x86-specific logic and reduces to KMP_MB() for other platforms. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Aug 25 2022, 8:15 AM Closed by commit rGe5ac98fa0150: [OpenMP][libomp] Cleanup __kmpc_flush() code (authored by jlpeyton).  ·  Explain WhySep 8 2022, 2:17 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 458866 openmp/runtime/src/kmp_csupport.cpp
 openmp/runtime/src/kmp_os.h
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||