mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
Add getSupportedThreadArbitrationPolicies
Related-To: LOCI-2319 Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6061b61aea
commit
415e6c4aa5
@@ -83,5 +83,13 @@ size_t PreambleHelper<SKLFamily>::getThreadArbitrationCommandsSize() {
|
||||
return sizeof(MI_LOAD_REGISTER_IMM) + sizeof(PIPE_CONTROL);
|
||||
}
|
||||
|
||||
template <>
|
||||
std::vector<uint32_t> PreambleHelper<SKLFamily>::getSupportedThreadArbitrationPolicies() {
|
||||
std::vector<uint32_t> retVal;
|
||||
for (const uint32_t &p : DebugControlReg2::supportedArbitrationPolicy) {
|
||||
retVal.push_back(p);
|
||||
}
|
||||
return retVal;
|
||||
}
|
||||
template struct PreambleHelper<SKLFamily>;
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user