Add hipHostMallocCoherent, hipHostMallocNonCoherent

Provide per-allocation control over coherent/non-coherent mem.
These overrid the default HIP_COHERENT_HOST_ALLOC setting.
This commit is contained in:
Ben Sander
2017-05-24 00:48:10 -05:00
parent d0ef9d8462
commit 75f691ec2f
6 changed files with 104 additions and 26 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ int HIP_PROFILE_API= 0;
std::string HIP_DB_START_API;
std::string HIP_DB_STOP_API;
int HIP_DB= 0;
int HIP_VISIBLE_DEVICES = 0; /* Contains a comma-separated sequence of GPU identifiers */
int HIP_VISIBLE_DEVICES = 0;
int HIP_NUM_KERNELS_INFLIGHT = 128;
int HIP_WAIT_MODE = 0;