Skip to content

Commit bd06e75

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 53ad196 commit bd06e75

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
@@ -1369,12 +1369,6 @@ amd_comgr_status_t AMDGPUCompiler::unbundle() {
13691369
if (auto Status = amd_comgr_data_set_add(OutSetT, ResultT)) {
13701370
return Status;
13711371
}
1372-
1373-
// Remove input and output file after reading back into Comgr data
1374-
if (!env::shouldEmitVerboseLogs()) {
1375-
sys::fs::remove(InputFilePath);
1376-
sys::fs::remove(OutputFilePath);
1377-
}
13781372
}
13791373
}
13801374

0 commit comments

Comments
 (0)