SWDEV-374778 - Select SDMA path when HSA_XNACK is enabled

Change-Id: I052675186238eb24b910a0a558d6b8ede36d1413


[ROCm/clr commit: 710749c291]
This commit is contained in:
Anusha GodavarthySurya
2023-01-10 02:52:13 +00:00
committed by Anusha Godavarthy Surya
parent ab81da6544
commit e8c8fd8c3f
@@ -805,6 +805,7 @@ bool Buffer::create(bool alloc_local) {
if (owner()->getSvmPtr() == reinterpret_cast<void*>(amd::Memory::MemoryType
::kArenaMemoryPtr)) {
kind_ = MEMORY_KIND_ARENA;
flags_ |= HostMemoryDirectAccess;
} else {
kind_ = MEMORY_KIND_PTRGIVEN;
}