Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-BE7CCB31-F052-4E5F-A2B4-D76C6CB7DF10
Visible to Intel only — GUID: GUID-BE7CCB31-F052-4E5F-A2B4-D76C6CB7DF10
FOR_MFENCE
Run-Time Subroutine: Inserts a memory fence instruction that ensures completion of all preceding load and store instructions.
USE IFCORE
CALL FOR_MFENCE ()
Using this subroutine guarantees that in program order, every load and store instruction that precedes the memory fence instruction is globally visible before any load or store instruction that follows the memory fence can proceed.