Revise the previous fix to use the canonical path to HSA.

- This fix the build failures under certain environments.


[ROCm/rccl commit: 4f2aa06688]
Bu işleme şunda yer alıyor:
Michael LIAO
2019-08-01 14:50:03 -04:00
ebeveyn 4d9eb5bd76
işleme c14ef9f408
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
+1 -1
Dosyayı Görüntüle
@@ -146,7 +146,7 @@ if("${HIP_COMPILER}" MATCHES "clang")
PRIVATE --amdgpu-target=gfx908
PRIVATE -fgpu-rdc)
target_link_libraries(rccl PRIVATE -fgpu-rdc)
target_include_directories(rccl PRIVATE /opt/rocm/include)
target_include_directories(rccl PRIVATE /opt/rocm/hsa/include)
endif()
if("${HIP_COMPILER}" MATCHES "hcc")
+2 -1
Dosyayı Görüntüle
@@ -7,7 +7,8 @@
#include "core.h"
#include "common_coll.h"
#include <hsa.h>
#include <hsa/hsa.h>
#include <hsa/hsa_ext_amd.h>
extern struct ncclTransport p2pTransport;
extern struct ncclTransport shmTransport;