Add debug for Peer APIs. Enable PeerMemcpy APIs by default.

Change-Id: I46e39a9e7b07686a78484c1f3b5495b08e052fbb
Tá an tiomantas seo le fáil i:
Ben Sander tiomanta 2016-11-04 08:51:16 -05:00
1 tuismitheoir 5832349e5e
tiomantas 3f0a2b8dc1
4 comhad athraithe
+78 -52

Níor tháinig aon chomhaid le do chuardach

+5 -1
Féach ar an gComhad
@@ -1278,7 +1278,11 @@ hipError_t hipDeviceEnablePeerAccess (int peerDeviceId, unsigned int flags);
hipError_t hipDeviceDisablePeerAccess (int peerDeviceId);
#ifdef PEER_NON_UNIFIED
#ifndef USE_PEER_NON_UNIFIED
#define USE_PEER_NON_UNIFIED 1
#endif
#if USE_PEER_NON_UNIFIED==1
/**
* @brief Copies memory from one device to memory on another device.
*