Use HCC get_is_pool, add USE_PEER_TO_PEER level 2, 3.

[ROCm/hip commit: 7a11a2178d]
This commit is contained in:
Ben Sander committed 2016-04-11 07:58:58 -05:00
1 bovenliggende 06e2dbd128
commit 216c9a0c16
2 files changed
+12 -10

No files matched your search

@@ -36,8 +36,9 @@ THE SOFTWARE.
#define USE_AV_COPY 0
// Compile peer-to-peer support.
// 2= use upcoming HCC APIs.
#define USE_PEER_TO_PEER 1
// >= 2 : use HCC hc:accelerator::get_is_peer
// >= 3 : use hc::am_memtracker_update_peers(...)
#define USE_PEER_TO_PEER 2
//#define INLINE static inline