From 3f2f7252aac5b9524162027b0237c6c6695f5347 Mon Sep 17 00:00:00 2001 From: Saleel Kudchadker Date: Thu, 30 Nov 2023 21:54:34 +0000 Subject: [PATCH] SWDEV-365820 - Refactor build path This is an initial change before we refactor the build/link paths for kernel launches for HIP. This current change is needed as compiler was setting some dump file which needed fs access which has slowdowns for NFS mounted file systems Change-Id: I828f9bb04d789b4f8c05c1ed08767f325efeb47c --- rocclr/device/devprogram.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/rocclr/device/devprogram.cpp b/rocclr/device/devprogram.cpp index f7e4aac484..bc0db42eef 100644 --- a/rocclr/device/devprogram.cpp +++ b/rocclr/device/devprogram.cpp @@ -690,7 +690,7 @@ bool Program::compileImplLC(const std::string& sourceCode, driverOptions.push_back("-mwavefrontsize64"); } driverOptions.push_back("-mcode-object-version=" + std::to_string(options->oVariables->LCCodeObjectVersion)); - + // Iterate through each source code and dump it into tmp std::fstream f; std::vector headerFileNames(headers.size()); @@ -1457,13 +1457,6 @@ bool Program::initBuild(amd::option::Options* options) { return false; } - 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;