Skip to content

Commit 6ab9379

Browse files
committed
[Comgr] Keep unbundle temporaries with AMD_COMGR_SAVE_TEMPS
The input/output files are relative to the temporary directory that are cleaned or kept depending on AMD_COMGR_SAVE_TEMPS. The code was wrongly checking AMD_COMGR_EMIT_VERBOSE_LOGS
1 parent 72c3943 commit 6ab9379

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

amd/comgr/src/comgr-compiler.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,12 +1376,6 @@ amd_comgr_status_t AMDGPUCompiler::unbundle() {
13761376
if (auto Status = amd_comgr_data_set_add(OutSetT, ResultT)) {
13771377
return Status;
13781378
}
1379-
1380-
// Remove input and output file after reading back into Comgr data
1381-
if (!env::shouldEmitVerboseLogs()) {
1382-
sys::fs::remove(InputFilePath);
1383-
sys::fs::remove(OutputFilePath);
1384-
}
13851379
}
13861380
}
13871381

0 commit comments

Comments
 (0)