Skip to content

Commit 7895c6f

Browse files
sbryngelsonclaude
andcommitted
Update copilot-instructions.md to mention OpenMP target offload
The GPU section previously only mentioned OpenACC. Now reflects that MFC supports both OpenACC and OpenMP target offload via backend-agnostic GPU_* Fypp macros. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent cb58059 commit 7895c6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Formatting and linting are enforced by pre-commit hooks. Focus review effort on
1616
* Sources in `src/`, tests in `tests/`, examples in `examples/`, Python toolchain in `toolchain/`.
1717
* Most source files are `.fpp` (Fypp templates); CMake transpiles them to `.f90`.
1818
* **Fypp macros** are in `src/<subprogram>/include/`, where `<subprogram>` is `simulation`, `common`, `pre_process`, or `post_process`.
19-
* Only `simulation` (plus its `common` dependencies) is GPU-accelerated via **OpenACC**.
19+
* Only `simulation` (plus its `common` dependencies) is GPU-accelerated via **OpenACC** or **OpenMP target offload** (`--gpu acc` or `--gpu mp`). GPU code uses backend-agnostic `GPU_*` Fypp macros (in `src/common/include/parallel_macros.fpp`) that dispatch to the correct backend at compile time.
2020
* Code must compile with **GNU gfortran**, **NVIDIA nvfortran**, **Cray ftn**, and **Intel ifx**.
2121
* Precision modes: double (default), single, and mixed (`wp` = working precision, `stp` = storage precision).
2222
* **Python toolchain** requires **Python 3.10+** — do not suggest `from __future__` imports or other backwards-compatibility shims.

0 commit comments

Comments
 (0)