Commit 989b1e7
committed
Fix nvfortran GPU build: drop pure from subroutines with GPU_LOOP directives
GPU_LOOP macros expand to OpenMP directives, which are not permitted inside
pure subroutines (nvfortran S-0155). Remove pure from s_compute_re_visc and
s_compute_mixture_re, which each contain multiple GPU_LOOP macros. The pure
qualifier was semantically correct but syntactically invalid for older nvfortran
(24.3, 24.5, 24.11) in OpenMP target offload builds.1 parent 266c79e commit 989b1e7
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
0 commit comments