Skip to content

Commit f5f4090

Browse files
committed
[Comgr] Remove -nogpuinc default for HIP compilation
Adding -nogpuinc by default can cause issues for compilations that require clang to locate HIP runtime headers Also, hipRTC now sets -nogpuinc manually when needed, so Comgr no longer needs to manage this option Change-Id: Id2e3a34c71272dfda8fda618e0719c193a4d6494
1 parent f806ab3 commit f5f4090

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

amd/comgr/src/comgr-compiler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,6 @@ amd_comgr_status_t AMDGPUCompiler::addCompilationFlags() {
10261026
break;
10271027
case AMD_COMGR_LANGUAGE_HIP:
10281028
Args.push_back("hip");
1029-
Args.push_back("-nogpuinc");
10301029
Args.push_back("--offload-device-only");
10311030
Args.push_back("-isystem");
10321031
Args.push_back(ROCMIncludePath.c_str());

0 commit comments

Comments
 (0)