Intel® Fortran Compiler 17.0 Developer Guide and Reference

Calling exit() From an Offload Region

This topic only applies when targeting Intel® Many Integrated Core Architecture (Intel® MIC Architecture).

When calling exit() from within an offload region, the application reports an offload error stating the process on the device exited unexpectedly.