[Openmp-commits] [clang] [compiler-rt] [clang-tools-extra] [lldb] [openmp] [llvm] [libcxx] [flang] [OpenMP] Add memory diff dump for kernel record-replay (PR #70667)
Giorgis Georgakoudis via Openmp-commits
openmp-commits at lists.llvm.org
Tue Oct 31 23:44:56 PDT 2023
================
@@ -274,7 +317,7 @@ struct RecordReplayTy {
void saveKernelOutputInfo(const char *Name) {
SmallString<128> OutputFilename = {
Name, (isRecording() ? ".original.output" : ".replay.output")};
- dumpDeviceMemory(OutputFilename);
+ dumpDeviceMemory(OutputFilename, /*saveDiff*/ true);
----------------
ggeorgakoudis wrote:
OK, I understand better now. You basically save the diff from input memory for kernel outputs on both record and replay. This make more sense to me and it is indeed compatible with verification in the replay tool.
https://github.com/llvm/llvm-project/pull/70667
More information about the Openmp-commits
mailing list