File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -862,15 +862,16 @@ void HipBinAmd::executeHipCCCmd(vector<string> argv) {
862
862
}
863
863
}
864
864
865
- if (hasHIP) {
866
- fs::path bitcodeFs = roccmPath;
867
- bitcodeFs /= " amdgcn/bitcode" ;
868
- if (deviceLibPath != bitcodeFs.string ()) {
869
- string hip_device_lib_str = " --hip-device-lib-path=\" "
870
- + deviceLibPath + " \" " ;
871
- HIPCXXFLAGS += hip_device_lib_str;
872
- }
873
- }
865
+ // Clang knows better how to find its device libs. Let it.
866
+ // if (hasHIP) {
867
+ // fs::path bitcodeFs = roccmPath;
868
+ // bitcodeFs /= "amdgcn/bitcode";
869
+ // if (deviceLibPath != bitcodeFs.string()) {
870
+ // string hip_device_lib_str = " --hip-device-lib-path=\""
871
+ // + deviceLibPath + "\"";
872
+ // HIPCXXFLAGS += hip_device_lib_str;
873
+ // }
874
+ // }
874
875
875
876
// to avoid using dk linker or MSVC linker
876
877
if (isWindows ()) {
You can’t perform that action at this time.
0 commit comments