Merge pull request #293 from phani544/nvccWarnings

[nvccWarnings] Fix gpu deprecated targets warnings
Tá an tiomantas seo le fáil i:
Maneesh Gupta údaraithe agus GitHub tiomanta 2017-12-13 09:58:59 +05:30
2 tuismitheoirí 26764971c5 8a721b4a36
tiomantas 2cdfef0f19
1 comhad athraithe
+2 -1
+2 -1
Féach ar an gComhad
@@ -169,9 +169,10 @@ if ($HIP_PLATFORM eq "hcc") {
$CUDA_PATH=$ENV{'CUDA_PATH'} // '/usr/local/cuda';
$HIPCC="$CUDA_PATH/bin/nvcc";
$HIPCXXFLAGS .= " -Wno-deprecated-gpu-targets ";
$HIPCXXFLAGS .= " -I$CUDA_PATH/include";
$HIPLDFLAGS = "-lcuda -lcudart -L$CUDA_PATH/lib64";
$HIPLDFLAGS = " -Wno-deprecated-gpu-targets -lcuda -lcudart -L$CUDA_PATH/lib64";
} else {
printf ("error: unknown HIP_PLATFORM = '$HIP_PLATFORM'");
exit (-1);