Merge pull request #974 from yxsamliu/name2

Change HIP dll name to amdhip64.dll on Windows
Этот коммит содержится в:
Maneesh Gupta
2019-03-20 05:11:58 +00:00
коммит произвёл GitHub
родитель 673cdeea55 e2bf34cd5e
Коммит cfb2711768
+3 -1
Просмотреть файл
@@ -196,8 +196,10 @@ if ($HIP_PLATFORM eq "clang") {
$HIPLDFLAGS .= " $HIP_DEVLIB_FLAGS -L$HIP_LIB_PATH";
if (not $isWindows) {
$HIPLDFLAGS .= " -Wl,--rpath=$HIP_LIB_PATH";
$HIPLDFLAGS .= " -lhip_hcc";
} else {
$HIPLDFLAGS .= " -lamdhip64";
}
$HIPLDFLAGS .= " -lhip_hcc";
if ($HIP_CLANG_HCC_COMPAT_MODE) {
## Allow __fp16 as function parameter and return type.
$HIPCXXFLAGS .= " -Xclang -fallow-half-arguments-and-returns -D__HIP_HCC_COMPAT_MODE__=1";