SWDEV-503761 - Reintroduce save-temps path for OpenCL

Change-Id: I5e111047242aed7d982b7a25c11ab52293af639d
Этот коммит содержится в:
Saleel Kudchadker
2024-12-10 20:13:30 +00:00
родитель 072f94c204
Коммит 23c21d5181
+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;