Merge pull request #110 from mhbliao/hliao/master/swdev-198268

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

[ROCm/rccl commit: 315f792f83]
Este commit está contenido en:
Wenkai Du
2019-08-01 12:46:25 -07:00
cometido por GitHub
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;