Improve thread arbitration policy programming

Change-Id: Ibd764352e14d1a5112034b1c5a1fc6d6d67ebac0
This commit is contained in:
Dunajski, Bartosz
2018-02-20 08:11:24 +01:00
committed by sys_ocldev
parent 67c8d7a9ca
commit 1292c3d533
21 changed files with 127 additions and 104 deletions

View File

@@ -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