File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -184,3 +184,23 @@ Do not link the device library for CUDA or HIP device compilation.
184
184
^^^^^^^^^^^^^
185
185
Do not include the default CUDA or HIP headers, and do not add CUDA or HIP
186
186
include paths.
187
+
188
+ ``-fopenmp-target-fast, -fno-openmp-target-fast ``
189
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
190
+ Enables fast optimization options for OpenMP target offloading:
191
+ -fopenmp-target-ignore-env-vars, -fopenmp-assume-no-thread-state,
192
+ -fopenmp-assume-no-nested-parallelism. Enables -O3 if no -O* level is
193
+ specified.
194
+
195
+ ``-fopenmp-target-ignore-env-vars, -fno-openmp-target-ignore-env-vars ``
196
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
197
+ Generate code assuming that device related environment variables can be ignored.
198
+
199
+ ``-fopenmp-assume-no-thread-state, -fno-openmp-assume-no-thread-state ``
200
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
201
+ Assume that no thread in a parallel region will modify an ICV.
202
+
203
+ ``-fopenmp-assume-no-nested-parallelism, -fno-openmp-assume-no-nested-parallelism ``
204
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
205
+ Assume that no thread in a parallel region will encounter a parallel region.
206
+
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ Obtain the value of `gpu-arch` by running the following command:
78
78
[ // ] : # ( dated link below, needs updating )
79
79
80
80
See the complete list of compiler command-line references
81
- [ here] ( https://github.com/ROCm/llvm-project/blob/amd-stg-open/clang /docs/CommandGuide/clang .rst ) .
81
+ [ here] ( https://github.com/ROCm/llvm-project/blob/amd-staging/openmp /docs/CommandLineArgumentReference .rst ) .
82
82
83
83
### Using ` rocprof ` with OpenMP
84
84
You can’t perform that action at this time.
0 commit comments