diff --git a/amd/hipcc/src/hipBin_amd.h b/amd/hipcc/src/hipBin_amd.h index ecea39e071b40..e845139080c4c 100644 --- a/amd/hipcc/src/hipBin_amd.h +++ b/amd/hipcc/src/hipBin_amd.h @@ -862,16 +862,6 @@ void HipBinAmd::executeHipCCCmd(vector argv) { } } - if (hasHIP) { - fs::path bitcodeFs = roccmPath; - bitcodeFs /= "amdgcn/bitcode"; - if (deviceLibPath != bitcodeFs.string()) { - string hip_device_lib_str = " --hip-device-lib-path=\"" - + deviceLibPath + "\""; - HIPCXXFLAGS += hip_device_lib_str; - } - } - // to avoid using dk linker or MSVC linker if (isWindows()) { HIPLDFLAGS += " -fuse-ld=lld --ld-path=\"" + hipClangPath + "/lld-link.exe\"";