mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Improve thread arbitration policy programming
Change-Id: Ibd764352e14d1a5112034b1c5a1fc6d6d67ebac0
This commit is contained in:
committed by
sys_ocldev
parent
67c8d7a9ca
commit
1292c3d533
@@ -29,15 +29,6 @@ void PreambleHelper<BDWFamily>::setupPipeControlInFrontOfCommand(void *pCmd, con
|
||||
((BDWFamily::PIPE_CONTROL *)pCmd)->setDcFlushEnable(true);
|
||||
}
|
||||
|
||||
template <>
|
||||
void PreambleHelper<BDWFamily>::programThreadArbitration(LinearStream *pCommandStream, uint32_t threadArbitrationPolicy) {
|
||||
}
|
||||
|
||||
template <>
|
||||
uint32_t PreambleHelper<BDWFamily>::getAdditionalCommandsSize(const Device &device) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
template <>
|
||||
uint32_t PreambleHelper<BDWFamily>::getL3Config(const HardwareInfo &hwInfo, bool useSLM) {
|
||||
uint32_t l3Config = 0;
|
||||
@@ -61,6 +52,5 @@ void PreambleHelper<BDWFamily>::programPipelineSelect(LinearStream *pCommandStre
|
||||
pCmd->setPipelineSelection(PIPELINE_SELECT::PIPELINE_SELECTION_GPGPU);
|
||||
}
|
||||
|
||||
// Explicitly instantiate PreambleHelper for BDW device family
|
||||
template struct PreambleHelper<BDWFamily>;
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user