diff options
author | Giorgis Georgakoudis <georgakoudis1@llnl.gov> | 2023-01-24 14:33:44 -0800 |
---|---|---|
committer | Giorgis Georgakoudis <georgakoudis1@llnl.gov> | 2023-01-24 14:36:37 -0800 |
commit | 4b88bf5c70c351c9b6758da7026b5673c0dcc8d9 (patch) | |
tree | d0a635b0f3f08abbec37498c157358bd473b2ce4 | |
parent | 7557b83aa543e1e3f0c820ecbb14721d4e80a809 (diff) | |
download | llvm-4b88bf5c70c351c9b6758da7026b5673c0dcc8d9.tar.gz |
[OpenMP][docs] Update for record-and-replay
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D142492
-rw-r--r-- | openmp/docs/ReleaseNotes.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openmp/docs/ReleaseNotes.rst b/openmp/docs/ReleaseNotes.rst index 48ae452ce9d1..994120472742 100644 --- a/openmp/docs/ReleaseNotes.rst +++ b/openmp/docs/ReleaseNotes.rst @@ -87,3 +87,14 @@ Non-comprehensive list of changes in this release * OpenMP-Opt (run as part of O1/O2/O3) will more effectively lower GPU resource usage and improve performance. +* Support record-and-replay functionality for individual OpenMP offload kernels. + Enabling recording in the host OpenMP target runtime library stores per-kernel + the device image, device memory state, and kernel launching information. The + newly added command-line tool `llvm-omp-kernel-replay` replays kernel execution. + Environment variables control recording/replaying: + * LIBOMPTARGET_RECORDING=<0|1>, 0: disable recording (default), 1: enable recording + * LIBOMPTARGET_RR_DEVMEM_SIZE = <integer in bytes>, default 64GB, amount of device + memory to pre-allocate for storing/loading when recording/replaying + * LIBOMPTARGET_RR_SAVE_OUTPUT=<0|1>, 0: disable saving device memory post-kernel execution + (default), 1: enable saving device memory post-kernel execution (used for verification + with `llvm-omp-kernel-replay`) |