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
+2
View File
@@ -185,6 +185,8 @@ syn keyword hipFlags hipHostMallocDefault
syn keyword hipFlags hipHostMallocPortable
syn keyword hipFlags hipHostMallocMapped
syn keyword hipFlags hipHostMallocWriteCombined
syn keyword hipFlags hipHostMallocCoherent
syn keyword hipFlags hipHostMallocNonCoherent
syn keyword hipFlags hipHostRegisterDefault
syn keyword hipFlags hipHostRegisterPortable