Tells the compiler that all ALLOCATE statements should be treated as though there were an explicit OpenMP ALLOCATE directive that preceded them. This feature is only available for ifx.
Linux: | -fopenmp-default-allocator[=keyword] |
Windows: | /Qopenmp-default-allocator[:keyword] |
keyword |
Is an allocation specification. It can be any of the following:
|
OFF |
If this option is not specified, the compiler follows standard allocation behavior for ALLOCATE statements. |
This option tells the compiler that all Fortran ALLOCATE statements should be treated as though there were an explicit OpenMP ALLOCATE directive (!$OMP ALLOCATE) that preceded them. It provides an allocation shortcut.
Only keyword omp_target_shared_mem requires you to also specify an OpenMP-enabling option, such as [q or Q]openmp. The other possible keywords do not require an OpenMP-enabling option.
When allocating large amounts of memory into target-shared memory, you may experience running-out-of-memory issues.
None