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

Revise the previous fix to use the canonical path to HSA.
Этот коммит содержится в:
Wenkai Du authored and GitHub committed 2019-08-01 12:46:25 -07:00
Коммит 315f792f83
2 files changed
+3 -2

No files matched your search

+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;