SWDEV-503761 - Reintroduce save-temps path for OpenCL

Change-Id: I5e111047242aed7d982b7a25c11ab52293af639d


[ROCm/clr commit: 23c21d5181]
Tento commit je obsažen v:
Saleel Kudchadker committed 2024-12-11 13:01:29 -05:00
1 rodič e3bf8acd82
revize 954c43d798
1 file changed
+9
+9
Zobrazit soubor
@@ -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;