<?xml version="1.0"?>
<!DOCTYPE flagsdescription SYSTEM
       "http://www.spec.org/dtd/cpuflags2.dtd">

<!-- This file defines flags for use with the NVIDIA HPC 2021 Linux Compilers -->
<flagsdescription>
<filename>nv2021_flags_v1.0.3</filename>
<title>NVIDIA HPC SDK Compilers 2022.  Optimization, Compiler, and Other flags for use by SPECaccel</title>

<!-- Style -->

<style>
<![CDATA[
body {
  margin:  1em;
  border:  0;
  padding: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 100% 0;
  color:      black;
  font-family: "Times Roman", times, serif;
}

div.flagDesc {
  clear: both;
  color: black;
  background-color: #d6e7f7;
  border: 1px solid #blue;
  margin: 0 auto;
  width: 90%;
}

ul.flagTOC {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

ul.flagTOC > li {
  border: 1px solid #d6e7f7;
  background: #d6e7f7;
}

ul.flagTOC > li > a:link {
   color: blue;
}

ul.SubMenu li {
  border: 1px solid #d6e7f7; /* rgb(211, 211, 211); */
}

ul.SubMenu {
  border: 1px solid blue;
  background-color: #d6e7f7;
}
]]>
</style>

<!-- Header -->

<header>
<![CDATA[
<div id='banner'>
<h2><b>Compilers: NVHPC SDK</b></h2>
<h2><b>Operating systems: Linux</b></h2>
</div>
]]>
</header>

<!-- Portability, Other Flags. -->

<flag name="gpu_cc90" class="optimization" regexp="-gpu=cc90\b">
<![CDATA[
 <p>Generates code for NVIDIA Compute Capability 9.0 (Hopper architecture).</p>
]]>
<example>-gpu=cc90</example>
</flag>

<flag name="gpu_ptx" class="optimization" regexp="-gpu=ptx\b">
<![CDATA[
 <p>Generates PTX code for forward compatibility and driver-side JIT optimization.</p>
]]>
<example>-gpu=ptx</example>
</flag>

<flag name="gpu_nordc" class="optimization" regexp="-gpu=nordc\b">
<![CDATA[
 <p>Disables Relocatable Device Code (RDC) to reduce device-side linking overhead.</p>
]]>
<example>-gpu=nordc</example>
</flag>

<flag name="gpu_fastmath" class="optimization" regexp="-gpu=fastmath\b">
<![CDATA[
 <p>Enables fast, hardware-intrinsic GPU math functions to improve performance.</p>
]]>
<example>-gpu=fastmath</example>
</flag>

<flag name="Mipa_fast_inline" class="optimization" regexp="-Mipa=fast,inline\b">
<![CDATA[
 <p>Enables Interprocedural Analysis (IPA) and cross-file inlining to minimize function call overhead.</p>
]]>
<example>-Mipa=fast,inline</example>
</flag>

</flagsdescription>
