SWDEV-374778 - Select SDMA path when HSA_XNACK is enabled
Change-Id: I052675186238eb24b910a0a558d6b8ede36d1413
[ROCm/clr commit: 710749c291]
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user