mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
[fix] zeCommandListAppendMemAdvise to clear preferred location correctly
The memadvise with preferred location for kmd-migrated shared allocation is set to device associated with cmd list by default to migrate data to lmem on non-atomic gpu page fault as well (for performance reasons). Related-To: NEO-7252 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
09b111cc97
commit
bf778be99e
@@ -61,6 +61,13 @@ enum class CachePolicy : uint32_t {
|
||||
WriteBack = 3,
|
||||
};
|
||||
|
||||
enum class PreferredLocation : int16_t {
|
||||
Clear = -1,
|
||||
System = 0,
|
||||
Device = 1,
|
||||
None = 2,
|
||||
};
|
||||
|
||||
enum class PostSyncMode : uint32_t {
|
||||
NoWrite = 0,
|
||||
Timestamp = 1,
|
||||
|
||||
Reference in New Issue
Block a user