SWDEV-503761 - Reintroduce save-temps path for OpenCL
Change-Id: I5e111047242aed7d982b7a25c11ab52293af639d
Этот коммит содержится в:
@@ -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;
|
||||
|
||||
Ссылка в новой задаче
Block a user