Clean up old work-week and USE_* refs

Change-Id: I929c979fa085f8e5205194cbccca46e9b5516aa9


[ROCm/hip commit: 5c9e286ddc]
This commit is contained in:
Ben Sander committed 2016-06-17 15:18:57 -05:00
1 parent 89a14a6d73
commit 388fcd8003
4 file changed
+2 -20

No files matched your search

+2 -6
View File
@@ -25,7 +25,7 @@ THE SOFTWARE.
#include "hip/hcc_detail/staging_buffer.h"
#if defined(__HCC__) && (__hcc_workweek__ < 16155)
#if defined(__HCC__) && (__hcc_workweek__ < 16186)
#error("This version of HIP requires a newer version of HCC.");
#endif
@@ -37,11 +37,7 @@ THE SOFTWARE.
// Compile peer-to-peer support.
// >= 2 : use HCC hc:accelerator::get_is_peer
// >= 3 : use hc::am_memtracker_update_peers(...)
#define USE_PEER_TO_PEER 2
// Use new am_memory_host_lock APIs:
#define USE_HCC_LOCK_API 1
#define USE_PEER_TO_PEER 3
//---