Add CoarseGrain memory flag
Change-Id: If8ac0339ae8c809c6e6a4f56592a4061d110ea94
Ta zmiana jest zawarta w:
%! (template.HTML=
Felix Kuehling)złożyło 2015-09-30 18:07:04 -04:00
1 rodzic
2d63ee7b8f
złożenie
f2f45cc0e4
Plik 1 zmieniony
+4
-1
@@ -453,7 +453,10 @@ typedef struct _HsaMemFlags
|
||||
unsigned int ExecuteAccess: 1; // default = 0: Identifies if memory is primarily used for data or accessed
|
||||
// for executable code (e.g. queue memory) by the host CPU or the device.
|
||||
// Influences the page attribute setting within the allocation
|
||||
unsigned int Reserved : 19;
|
||||
unsigned int CoarseGrain : 1; // default = 0: Memory is assigned explicitly to one agent at a time and does
|
||||
// not need to be accessed in a cache-coherent way. Memory consistency needs
|
||||
// to be enforced at synchronization points at dispatch boundaries.
|
||||
unsigned int Reserved : 18;
|
||||
|
||||
} ui32;
|
||||
HSAuint32 Value;
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika