mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 05:56:36 +08:00
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:
committed by
Compute-Runtime-Automation
parent
57851a5d29
commit
71e5c76d67
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user