Add hipHostMallocCoherent, hipHostMallocNonCoherent

Provide per-allocation control over coherent/non-coherent mem.
These overrid the default HIP_COHERENT_HOST_ALLOC setting.


[ROCm/hip commit: 75f691ec2f]
This commit is contained in:
Ben Sander
2017-05-24 00:48:10 -05:00
orang tua 07865c3a02
melakukan 5b9ce41633
6 mengubah file dengan 104 tambahan dan 26 penghapusan
+1 -1
Melihat 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;