File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -202,6 +202,11 @@ const string& HipBinNvidia::getHipLdFlags() const {
202202
203203// initialize Hipc flags
204204void HipBinNvidia::initializeHipCFlags () {
205+ string hipCFlags;
206+ string hipIncludePath;
207+ hipIncludePath = getHipInclude ();
208+ hipCFlags += " -isystem \" " + hipIncludePath + " \" " ;
209+ hipCFlags_ = hipCFlags;
205210}
206211
207212// returns Hipccx flags
@@ -212,6 +217,9 @@ const string& HipBinNvidia::getHipCXXFlags() const {
212217// initializes the HIPCCX flags
213218void HipBinNvidia::initializeHipCXXFlags () {
214219 string hipCXXFlags = " -Wno-deprecated-gpu-targets " ;
220+ string hipIncludePath;
221+ hipIncludePath = getHipInclude ();
222+ hipCXXFlags += " -isystem \" " + hipIncludePath + " \" " ;
215223 hipCXXFlags_ = hipCXXFlags;
216224}
217225
You can’t perform that action at this time.
0 commit comments