[flang-commits] [flang] [openmp] Add memory diff dump for kernel record-replay (PR #70667)

Shilei Tian via flang-commits flang-commits at lists.llvm.org
Mon Oct 30 08:31:37 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, true);
----------------
shiltian wrote:

```suggestion
    dumpDeviceMemory(OutputFilename, /*saveDiff*/true);
```

https://github.com/llvm/llvm-project/pull/70667


More information about the flang-commits mailing list