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

Revise the previous fix to use the canonical path to HSA.
此提交包含在:
Wenkai Du
2019-08-01 12:46:25 -07:00
提交者 GitHub
當前提交 315f792f83
共有 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")
+2 -1
查看文件
@@ -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;