SWDEV-286257 - Check for --save-temps option for HIP. Create Temp files if its present.

Change-Id: Ie5787d03b73081bca1ad03699ed7015badc342c7


[ROCm/clr commit: 751937af14]
이 커밋은 다음에 포함됨:
Jatin Chaudhary
2021-08-12 05:48:07 -07:00
커밋한 사람 Maneesh Gupta
부모 b644b59469
커밋 ff3101ca71
+3 -1
파일 보기
@@ -532,7 +532,9 @@ bool Program::compileAndLinkExecutable(const amd_comgr_data_set_t inputs,
if (status == AMD_COMGR_STATUS_SUCCESS) {
hasOutput = true;
if (amdOptions->isDumpFlagSet(amd::option::DUMP_ISA)){
if ((amdOptions->isDumpFlagSet(amd::option::DUMP_ISA)) ||
(isHIP() &&
amdOptions->origOptionStr.find("-save-temps") != std::string::npos)) {
// create the assembly data set
amd_comgr_data_set_t assemblyData;
bool hasAssemblyData = false;