SWDEV-376697 - Adding hipDeviceMallocUncached flag for uncached memory. (#3136)

Change-Id: Id2761e9ec27c04106598fa13082009974e19ab91
Cette révision appartient à :
ROCm CI Service Account a créé et GitHub a révisé 2023-01-16 20:41:08 -08:00
1 Parent b7d1ae99e4
révision b90b4ebffb
1 fichier modifié
+3
+3
Voir le fichier
@@ -635,6 +635,9 @@ enum hipLimit_t {
/** Memory represents a HSA signal.*/ /** Memory represents a HSA signal.*/
#define hipMallocSignalMemory 0x2 #define hipMallocSignalMemory 0x2
/** Memory allocated will be uncached. */
#define hipDeviceMallocUncached 0x3
//Flags that can be used with hipHostRegister. //Flags that can be used with hipHostRegister.
/** Memory is Mapped and Portable.*/ /** Memory is Mapped and Portable.*/
#define hipHostRegisterDefault 0x0 #define hipHostRegisterDefault 0x0