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 {
202
202
203
203
// initialize Hipc flags
204
204
void HipBinNvidia::initializeHipCFlags () {
205
+ string hipCFlags;
206
+ string hipIncludePath;
207
+ hipIncludePath = getHipInclude ();
208
+ hipCFlags += " -isystem \" " + hipIncludePath + " \" " ;
209
+ hipCFlags_ = hipCFlags;
205
210
}
206
211
207
212
// returns Hipccx flags
@@ -212,6 +217,9 @@ const string& HipBinNvidia::getHipCXXFlags() const {
212
217
// initializes the HIPCCX flags
213
218
void HipBinNvidia::initializeHipCXXFlags () {
214
219
string hipCXXFlags = " -Wno-deprecated-gpu-targets " ;
220
+ string hipIncludePath;
221
+ hipIncludePath = getHipInclude ();
222
+ hipCXXFlags += " -isystem \" " + hipIncludePath + " \" " ;
215
223
hipCXXFlags_ = hipCXXFlags;
216
224
}
217
225
You can’t perform that action at this time.
0 commit comments