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

- This fix the build failures under certain environments.


[ROCm/rccl commit: 4f2aa06688]
Este commit está contenido en:
Michael LIAO
2019-08-01 14:50:03 -04:00
padre 4d9eb5bd76
commit c14ef9f408
Se han modificado 2 ficheros con 3 adiciones y 2 borrados
+1 -1
Ver fichero
@@ -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
Ver fichero
@@ -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;