Avoid using sdma engine if there's none
Change-Id: Id8d373683f3e1667ab461b4c5b8b490377b64cc0
[ROCm/clr commit: 40b432f992]
Этот коммит содержится в:
коммит произвёл
Jason Tang
родитель
b01d49542c
Коммит
4c0e5d238d
@@ -356,6 +356,10 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
return false;
|
||||
}
|
||||
|
||||
if (0 == palProp.engineProperties[Pal::EngineTypeDma].engineCount) {
|
||||
disableSdma_ = true;
|
||||
}
|
||||
|
||||
// Image DMA must be disabled if SDMA is disabled
|
||||
imageDMA_ &= !disableSdma_;
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user