SWDEV-503761 - Reintroduce save-temps path for OpenCL

Change-Id: I5e111047242aed7d982b7a25c11ab52293af639d
이 커밋은 다음에 포함됨:
Saleel Kudchadker가 2024-12-11 13:01:29 -05:00를 커밋했습니다
1 부모 072f94c204
커밋 23c21d5181
1 파일이 변경됨
+9
+9
파일 보기
@@ -1427,6 +1427,15 @@ bool Program::initBuild(amd::option::Options* options) {
return false;
}
if (!amd::IS_HIP) {
std::string targetID = device().isa().targetId();
#if defined(_WIN32)
// Replace special charaters that are not supported by Windows FS.
std::replace(targetID.begin(), targetID.end(), ':', '@');
#endif
options->setPerBuildInfo(targetID.c_str(), clBinary()->getEncryptCode(), true);
}
// Elf Binary setup
std::string outFileName;
bool tempFile = false;