Skip to content

Commit 6cca5f7

Browse files
jmmartinezkzhuravl
authored andcommitted
[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 34271d1 commit 6cca5f7

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
@@ -1366,12 +1366,6 @@ amd_comgr_status_t AMDGPUCompiler::unbundle() {
13661366
if (auto Status = amd_comgr_data_set_add(OutSetT, ResultT)) {
13671367
return Status;
13681368
}
1369-
1370-
// Remove input and output file after reading back into Comgr data
1371-
if (!env::shouldEmitVerboseLogs()) {
1372-
sys::fs::remove(InputFilePath);
1373-
sys::fs::remove(OutputFilePath);
1374-
}
13751369
}
13761370
}
13771371

0 commit comments

Comments
 (0)