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]
This commit is contained in:
Wenkai Du
2019-08-01 12:46:25 -07:00
کامیت شده توسط GitHub
کامیت fe2cb9f4cb
2فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
+1 -1
مشاهده پرونده
@@ -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")
@@ -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;