[clang-tools-extra] [openmp] Add memory diff dump for kernel record-replay (PR #70667)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 30 08:31:47 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 cfe-commits
mailing list