This result has been formatted using multiple flags files. The "default header section" from each of them appears next.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
The OpenMPI C driver configured for use with the NVIDIA HPC C compiler (nvc).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
The OpenMPI Fortran driver configured for use with the NVIDIA HPC Fortran compiler (nvfortran).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Generate code for the medium memory model in the linux86-64 execution environment. The default small memory model of the linux86-64 environment limits the combined area for a user's object or executable to 1GB, with the Linux kernel managing usage of the second 1GB of address for system routines, shared libraries, stacks, etc. Programs are started at a fixed address, and the program can use a single instruction to make most memory references. The medium memory model allows for larger than 2GB data areas, or .bss sections. Program units compiled using either -mcmodel=medium or -fpic require additional instructions to reference memory. The effect on performance is a function of the data-use of the application. The -mcmodel=medium switch must be used at both compile time and link time to create 64-bit executables. Program units compiled for the default small memory model can be linked into medium memory model executables as long as they are compiled -fpic, or position-independent.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Linker option to disable global optimizations that become possible when the linker resolves addressing in the program. Relax may cause linking errors when using large data objects (>2GB).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Chooses generally optimal flags for the target platform.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
All level 1 and 2 optimizations are performed. In addition, this level enables more aggressive code hoisting and scalar replacement optimizations that may or may not be profitable.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Chooses generally optimal flags for the target platform.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Performs all level 1, 2, and 3 optimizations and enables hoisting of guarded invariant floating point expressions.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Generates code for NVIDIA Compute Capability 9.0 (Hopper architecture).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Generates PTX code for forward compatibility and driver-side JIT optimization.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Disables Relocatable Device Code (RDC) to reduce device-side linking overhead.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Allocate host data directly in CPU physical (pinned) memory in place of using pinned memory buffers. Allocation cost may be higher, but using pinned memory data transfer is often faster. Useful with programs having few allocation but many data transfers between the host and device.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enables fast, hardware-intrinsic GPU math functions to improve performance.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Allow expression re-association; specifying this sub-option can increase opportunities for loop-carried redundancy elimination.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enables Interprocedural Analysis (IPA) and cross-file inlining to minimize function call overhead.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
All level 1 and 2 optimizations are performed. In addition, this level enables more aggressive code hoisting and scalar replacement optimizations that may or may not be profitable.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Don't include Fortran main program object module.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Performs all level 1, 2, and 3 optimizations and enables hoisting of guarded invariant floating point expressions.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Generates code for NVIDIA Compute Capability 9.0 (Hopper architecture).
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Generates PTX code for forward compatibility and driver-side JIT optimization.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Disables Relocatable Device Code (RDC) to reduce device-side linking overhead.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Allocate host data directly in CPU physical (pinned) memory in place of using pinned memory buffers. Allocation cost may be higher, but using pinned memory data transfer is often faster. Useful with programs having few allocation but many data transfers between the host and device.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enables fast, hardware-intrinsic GPU math functions to improve performance.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable OpenACC directives.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of some intrinsic functions. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Place automatic arrays on the stack.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Allow expression re-association; specifying this sub-option can increase opportunities for loop-carried redundancy elimination.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enables Interprocedural Analysis (IPA) and cross-file inlining to minimize function call overhead.
This section contains descriptions of flags that were included implicitly by other flags, but which do not have a permanent home at SPEC.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable support for 64-bit indexing and single static data objects larger than 2GB in size. This option is default in the presence of -mcmodel=medium. Can be used separately together with the default small memory model for certain 64-bit applications that manage their own memory space.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
All level 1 and 2 optimizations are performed. In addition, this level enables more aggressive code hoisting and scalar replacement optimizations that may or may not be profitable.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Level-two optimization (-O2 or -O) specifies global optimization. The -fast option generally will specify global optimization; however, the -fast switch will vary from release to release depending on a reasonable selection of switches for any one particular release. The -O or -O2 level performs all level-one local optimizations as well as global optimizations. Control flow analysis is applied and global registers are allocated for all functions and subroutines. Loop regions are given special consideration. This optimization level is a good choice when the program contains loops, the loops are short, and the structure of the code is regular.
The NVHPC compilers perform many different types of global optimizations, including but not limited to:
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Level-one optimization specifies local optimization (-O1). The compiler performs scheduling of basic blocks as well as register allocation. This optimization level is a good choice when the code is very irregular; that is it contains many short statements containing IF statements and the program does not contain loops (DO or DO WHILE statements). For certain types of code, this optimization level may perform better than level-two (-O2) although this case rarely occurs.
The NVHPC compilers perform many different types of local optimizations, including but not limited to:
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Align "unconstrained" data objects of size greater than or equal to 16 bytes on cache-line boundaries. An "unconstrained" object is a variable or array that is not a member of an aggregate structure or common block, is not allocatable, and is not an automatic array. On by default on 64-bit Linux systems.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Control automatic vector pipelining using SIMD instructions.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enable automatic vector pipelining.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the vectorizer to enable certain associativity conversions that can change the results of a computations due to roundoff error. A typical optimization is to change an arithmetic operation to an arithmetic operation that is mathematically correct, but can be computationally different, due to round-off error.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the vectorizer to generate alternate code for vectorized loops when appropriate. For each vectorized loop the compiler decides whether to generate altcode and what type or types to generate, which may be any or all of:
The compiler also determines suitable loop count and array alignment conditions for executing the altcode.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Set SSE to flush-to-zero mode; if a floating-point underflow occurs, the value is set to zero.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to completely unroll loops with a constant loop count of less than or equal to 1 where 1 is a supplied constant value. If no constant value is given, then a default of 4 is used. A value of 1 inhibits the complete unrolling of loops with constant loop counts.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Invokes the loop unroller.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Inline functions declared with the inline keyword.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Enables loop-carried redundancy elimination, an optimization that can reduce the number of arithmetic operations and memory references in loops.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of floating-point reciprocal square root (1/sqrt). Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of floating-point square root. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to use relaxed precision in the calculation of floating-point division. Can result in improved performance at the expense of numerical accuracy.
![[user]](https://www.spec.org/auto/accel2023/images/user.png)
Instructs the compiler to allow floating-point expression reordering, including factoring. Can result in improved performance at the expense of numerical accuracy.
Flag description origin markings:
For questions about the meanings of these flags, please contact the tester.
For other inquiries, please contact info@spec.org
Copyright 2023-2026 Standard Performance Evaluation Corporation
Tested with SPEC accel2023 v2.0.18.
Report generated on 2026-05-14 16:53:12 by SPEC accel2023 flags formatter v112 .