[Openmp-commits] [PATCH] D142492: [OpenMP][docs] Update for record-and-replay
Giorgis Georgakoudis via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 24 13:52:49 PST 2023
ggeorgakoudis updated this revision to Diff 491904.
ggeorgakoudis added a comment.
Add env vars
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142492/new/
https://reviews.llvm.org/D142492
Files:
openmp/docs/ReleaseNotes.rst
Index: openmp/docs/ReleaseNotes.rst
===================================================================
--- openmp/docs/ReleaseNotes.rst
+++ openmp/docs/ReleaseNotes.rst
@@ -24,3 +24,17 @@
with MinGW based toolchains.
* Made the OpenMP runtime tests run successfully on Windows.
+
+* 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
+ * LIBOMTARGET_REPLAYING=<0|1>, 0: disable replaying (default), 1: enable replaying
+ (set by `llvm-omp-kernel-replay`)
+ * 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`)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142492.491904.patch
Type: text/x-patch
Size: 1270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230124/6b98e256/attachment-0001.bin>
More information about the Openmp-commits
mailing list