2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2019-11-12 20:59:37 +08:00
|
|
|
* Copyright (C) 2019 Intel Corporation
|
2018-09-18 15:11:08 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2017-12-21 07:45:38 +08:00
|
|
|
#pragma once
|
2019-11-12 20:59:37 +08:00
|
|
|
|
2017-12-21 07:45:38 +08:00
|
|
|
#include <stdint.h>
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2019-11-12 20:59:37 +08:00
|
|
|
|
|
|
|
namespace ThreadArbitrationPolicy {
|
|
|
|
enum {
|
|
|
|
AgeBased = 0x0u,
|
|
|
|
RoundRobin = 0x1u,
|
|
|
|
RoundRobinAfterDependency = 0x2u,
|
|
|
|
NotPresent = 0xffffffffu
|
2018-07-04 20:52:23 +08:00
|
|
|
};
|
2019-11-12 20:59:37 +08:00
|
|
|
uint32_t getNewKernelArbitrationPolicy(uint32_t policy);
|
|
|
|
} // namespace ThreadArbitrationPolicy
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|