Clean up disable.

Add USE_HCC_LOCK (disabled)
Disable USE_PEER_TO_PEER.


[ROCm/hip commit: b0529e04f1]
This commit is contained in:
Ben Sander
2016-04-11 09:09:36 -05:00
والد 775e484517
کامیت b174e8bba7
5فایلهای تغییر یافته به همراه10 افزوده شده و 11 حذف شده
@@ -454,13 +454,9 @@ void ihipDevice_t::locked_reset()
crit->streams().clear();
#if USE_PEER_TO_PEER>=2
// This resest peer list to just me:
crit->resetPeers(this);
#endif
// Reset and release all memory stored in the tracker:
// Reset will remove peer mapping so don't need to do this explicitly.
am_memtracker_reset(_acc);