Merge pull request #1550 from yxsamliu/new-launch

Add -fhip-new-launch-api to hipcc for HIP/VDI
This commit is contained in:
Rahul Garg
2019-10-17 19:07:32 -07:00
committed by GitHub
+2
View File
@@ -234,6 +234,8 @@ if ($HIP_PLATFORM eq "clang") {
if ($HIP_RUNTIME eq "HCC" ) {
$HSA_PATH=$ENV{'HSA_PATH'} // "$ROCM_PATH/hsa";
$HIPCXXFLAGS .= " -isystem $HSA_PATH/include";
} else {
$HIPCXXFLAGS .= " -fhip-new-launch-api";
}
} elsif ($HIP_PLATFORM eq "hcc") {