SWDEV-357207 - Linux: enable StreamWrite/Wait APIs in deviceAttribute
Change-Id: I593df2dbb7a0233dd42f8d873510d85bbb27feff
This commit is contained in:
zatwierdzone przez
Ajay GunaShekar
rodzic
c1c5127875
commit
261620a2ef
@@ -1577,11 +1577,8 @@ 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 gfx9
|
||||
info_.aqlBarrierValue_ = (isa().versionMajor() == 9 && isa().versionMinor() == 0 &&
|
||||
(isa().versionStepping() == 0 || isa().versionStepping() == 4 ||
|
||||
isa().versionStepping() == 8 || isa().versionStepping() == 10));
|
||||
// Enable StreamWrite and StreamWait for all devices
|
||||
info_.aqlBarrierValue_ = true;
|
||||
}
|
||||
|
||||
info_.maxPipePacketSize_ = info_.maxMemAllocSize_;
|
||||
|
||||
Reference in New Issue
Block a user