File tree Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Expand file tree Collapse file tree 2 files changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -186,9 +186,6 @@ sub get_normalized_path {
186
186
187
187
$HIPCC =get_normalized_path(" $CUDA_PATH /bin/nvcc" );
188
188
$HIPCXXFLAGS .= " -Wno-deprecated-gpu-targets " ;
189
- $HIPCXXFLAGS .= " -isystem " . get_normalized_path(" $CUDA_PATH /include" );
190
- $HIPCXXFLAGS .= " -isystem " . get_normalized_path(" $HIP_PATH /include" );
191
- $HIPCFLAGS .= " -isystem " . get_normalized_path(" $CUDA_PATH /include" );
192
189
193
190
$HIPLDFLAGS = " -Wno-deprecated-gpu-targets -lcuda -lcudart -L" . get_normalized_path(" $CUDA_PATH /lib64" );
194
191
} else {
Original file line number Diff line number Diff line change @@ -203,16 +203,6 @@ const string& HipBinNvidia::getHipLdFlags() const {
203
203
204
204
// initialize Hipc flags
205
205
void HipBinNvidia::initializeHipCFlags () {
206
- string hipCFlags;
207
- const string& cudaPath = getCompilerPath ();
208
- if (getOSInfo () == windows)
209
- hipCFlags += " -isystem \" " + cudaPath + " /include\" " ;
210
- else
211
- hipCFlags += " -isystem " + cudaPath + " /include" ;
212
- string hipIncludePath;
213
- hipIncludePath = getHipInclude ();
214
- hipCFlags += " -isystem \" " + hipIncludePath + " \" " ;
215
- hipCFlags_ = hipCFlags;
216
206
}
217
207
218
208
// returns Hipccx flags
@@ -223,14 +213,6 @@ const string& HipBinNvidia::getHipCXXFlags() const {
223
213
// initializes the HIPCCX flags
224
214
void HipBinNvidia::initializeHipCXXFlags () {
225
215
string hipCXXFlags = " -Wno-deprecated-gpu-targets " ;
226
- const string& cudaPath = getCompilerPath ();
227
- if (getOSInfo () == windows)
228
- hipCXXFlags += " -isystem \" " + cudaPath + " /include\" " ;
229
- else
230
- hipCXXFlags += " -isystem " + cudaPath + " /include" ;
231
- string hipIncludePath;
232
- hipIncludePath = getHipInclude ();
233
- hipCXXFlags += " -isystem \" " + hipIncludePath + " \" " ;
234
216
hipCXXFlags_ = hipCXXFlags;
235
217
}
236
218
You can’t perform that action at this time.
0 commit comments