SWDEV-263964 - Fix hipcc --hip-device-lib-path

On Windows, there may be spaces in the directory
location. Therefore, must add quotes when adding
this path with a location in C:/Program Files/.

Change-Id: I63642093092e25a2f6ed73b55a7afd16835ac736


[ROCm/clr commit: e4c1c79b2b]
This commit is contained in:
Aaron En Ye Shi
2021-02-03 19:41:35 +00:00
orang tua 04e2083378
melakukan 0d3576fe7f
+1 -1
Melihat File
@@ -683,7 +683,7 @@ if ($HIP_PLATFORM eq "amd") {
if ($hasHIP) {
if ($DEVICE_LIB_PATH ne "$ROCM_PATH/amdgcn/bitcode") {
$HIPCXXFLAGS .= " --hip-device-lib-path=$DEVICE_LIB_PATH";
$HIPCXXFLAGS .= " --hip-device-lib-path=\"$DEVICE_LIB_PATH\"";
}
$HIPCXXFLAGS .= " -fhip-new-launch-api";
}