mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Update default thread arbitration policy
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
201c3347ff
commit
8c3e9ace69
@ -246,8 +246,9 @@ cl_int Kernel::initialize() {
|
||||
}
|
||||
|
||||
setThreadArbitrationPolicy(hwHelper.getDefaultThreadArbitrationPolicy());
|
||||
if (false == kernelInfo.kernelDescriptor.kernelAttributes.flags.requiresSubgroupIndependentForwardProgress) {
|
||||
setThreadArbitrationPolicy(ThreadArbitrationPolicy::AgeBased);
|
||||
|
||||
if (kernelInfo.kernelDescriptor.kernelAttributes.flags.requiresSubgroupIndependentForwardProgress && (this->threadArbitrationPolicy < ThreadArbitrationPolicy::RoundRobin)) {
|
||||
setThreadArbitrationPolicy(ThreadArbitrationPolicy::RoundRobin);
|
||||
}
|
||||
patchBlocksSimdSize();
|
||||
|
||||
|
Reference in New Issue
Block a user