From 6b6b4c0d57909ae1fe8f4fc86429a7a028ee22ff Mon Sep 17 00:00:00 2001 From: Ravi C Akkenapally Date: Fri, 14 May 2021 11:05:51 -0700 Subject: [PATCH] SWDEV-286446 - StreamOperations: Enable for all gfx9 Change-Id: I913a31c8bfdf1031d4cd491f1c689aa4df05c02c [ROCm/clr commit: 93ae30730ad851df40ee709a0e3c02703c30c6e5] --- projects/clr/rocclr/device/rocm/rocdevice.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/clr/rocclr/device/rocm/rocdevice.cpp b/projects/clr/rocclr/device/rocm/rocdevice.cpp index cf70b99750..c7b30dd6a3 100644 --- a/projects/clr/rocclr/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/device/rocm/rocdevice.cpp @@ -1516,9 +1516,8 @@ bool Device::populateOCLDeviceConstants() { 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); + // 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); } info_.maxPipePacketSize_ = info_.maxMemAllocSize_;