fix: remove explicit AgeBased Thread Arbitration policy

Related-To: NEO-7913
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
This commit is contained in:
Naklicki, Mateusz
2023-04-26 13:17:21 +00:00
committed by Compute-Runtime-Automation
parent 57851a5d29
commit 71e5c76d67
5 changed files with 136 additions and 16 deletions

View File

@@ -266,8 +266,8 @@ cl_int Kernel::initialize() {
if (threadArbitrationPolicy == ThreadArbitrationPolicy::NotPresent) {
threadArbitrationPolicy = static_cast<ThreadArbitrationPolicy>(gfxCoreHelper.getDefaultThreadArbitrationPolicy());
}
if (false == kernelInfo.kernelDescriptor.kernelAttributes.flags.requiresSubgroupIndependentForwardProgress) {
threadArbitrationPolicy = ThreadArbitrationPolicy::AgeBased;
if (kernelInfo.kernelDescriptor.kernelAttributes.flags.requiresSubgroupIndependentForwardProgress == true) {
threadArbitrationPolicy = ThreadArbitrationPolicy::RoundRobin;
}
auto &clGfxCoreHelper = rootDeviceEnvironment.getHelper<ClGfxCoreHelper>();