Add support of HIP_HIDDEN_FREE_MEM, to deduct the returned available

memory from hipMemGetInfo API, measured in MB.

Change-Id: I7a8260c12e032e04e26611db4c38c893a29f2653
This commit is contained in:
Sun, Peng
2017-06-26 15:29:38 -05:00
parent 522e059a79
commit 1df08626c8
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ extern int HIP_FORCE_P2P_HOST;
extern int HIP_COHERENT_HOST_ALLOC;
extern int HIP_HIDDEN_FREE_MEM;
//---
// Chicken bits for disabling functionality to work around potential issues:
extern int HIP_SYNC_HOST_ALLOC;