SWDEV-179105 - Stream Operations: Add feature querying support

Change-Id: I01cb85223b83f3655e5e21ad16639da406e5cd3e
This commit is contained in:
Ravi C Akkenapally
2021-02-16 16:32:00 -08:00
bovenliggende 8c4cf8c1b0
commit e94d482c8f
4 gewijzigde bestanden met toevoegingen van 33 en 1 verwijderingen
+4
Bestand weergeven
@@ -1542,6 +1542,10 @@ bool Device::populateOCLDeviceConstants() {
info_.pcieDeviceId_ = pciDeviceId_;
info_.cooperativeGroups_ = settings().enableCoopGroups_;
info_.cooperativeMultiDeviceGroups_ = settings().enableCoopMultiDeviceGroups_;
// TODO: Update this to use HSA API when it is ready. For now limiting this to gfx908
info_.aqlBarrierValue_ =
(isa().versionMajor() == 9 && isa().versionMinor() == 0 && isa().versionStepping() == 8);
}
info_.maxPipePacketSize_ = info_.maxMemAllocSize_;