Use HCC get_is_pool, add USE_PEER_TO_PEER level 2, 3.

[ROCm/hip commit: 7a11a2178d]
This commit is contained in:
Ben Sander
2016-04-07 14:28:42 -05:00
rodzic 06e2dbd128
commit 216c9a0c16
2 zmienionych plików z 12 dodań i 10 usunięć
@@ -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