mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
refactor: fix typo Barrierl -> Barrier
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6fb905acb2
commit
5610eae710
@@ -1123,7 +1123,7 @@ HWTEST2_F(CommandStreamReceiverFlushTaskTests, givenSpecialPipelineSelectModeCha
|
||||
size_t size = commandStreamReceiver.getCmdSizeForPipelineSelect();
|
||||
|
||||
size_t expectedSize = sizeof(PIPELINE_SELECT);
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierlPriorToPipelineSelectWaRequired(pDevice->getRootDeviceEnvironment())) {
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierPriorToPipelineSelectWaRequired(pDevice->getRootDeviceEnvironment())) {
|
||||
expectedSize += sizeof(PIPE_CONTROL);
|
||||
}
|
||||
EXPECT_EQ(expectedSize, size);
|
||||
@@ -1151,7 +1151,7 @@ HWTEST2_F(CommandStreamReceiverFlushTaskTests, givenCsrWhenPreambleSentThenRequi
|
||||
auto difference = mediaSamplerConfigChangedSize - mediaSamplerConfigNotChangedSize;
|
||||
|
||||
size_t expectedDifference = sizeof(PIPELINE_SELECT);
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierlPriorToPipelineSelectWaRequired(pDevice->getRootDeviceEnvironment())) {
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierPriorToPipelineSelectWaRequired(pDevice->getRootDeviceEnvironment())) {
|
||||
expectedDifference += sizeof(PIPE_CONTROL);
|
||||
}
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ bool MemorySynchronizationCommands<Family>::isBarrierWaRequired(const RootDevice
|
||||
}
|
||||
|
||||
template <>
|
||||
bool MemorySynchronizationCommands<Family>::isBarrierlPriorToPipelineSelectWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
||||
bool MemorySynchronizationCommands<Family>::isBarrierPriorToPipelineSelectWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
||||
return MemorySynchronizationCommands<Family>::isBarrierWaRequired(rootDeviceEnvironment);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ void PreambleHelper<Family>::programPipelineSelect(LinearStream *pCommandStream,
|
||||
|
||||
using PIPELINE_SELECT = typename Family::PIPELINE_SELECT;
|
||||
|
||||
if (MemorySynchronizationCommands<Family>::isBarrierlPriorToPipelineSelectWaRequired(rootDeviceEnvironment)) {
|
||||
if (MemorySynchronizationCommands<Family>::isBarrierPriorToPipelineSelectWaRequired(rootDeviceEnvironment)) {
|
||||
PipeControlArgs args;
|
||||
args.renderTargetCacheFlushEnable = true;
|
||||
MemorySynchronizationCommands<Family>::addSingleBarrier(*pCommandStream, args);
|
||||
|
||||
@@ -442,7 +442,7 @@ struct MemorySynchronizationCommands {
|
||||
static size_t getSizeForFullCacheFlush();
|
||||
|
||||
static bool isBarrierWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
static bool isBarrierlPriorToPipelineSelectWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
static bool isBarrierPriorToPipelineSelectWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment);
|
||||
static void setBarrierExtraProperties(void *barrierCmd, PipeControlArgs &args);
|
||||
};
|
||||
|
||||
|
||||
@@ -548,7 +548,7 @@ bool GfxCoreHelperHw<GfxFamily>::useSystemMemoryPlacementForISA(const HardwareIn
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool MemorySynchronizationCommands<GfxFamily>::isBarrierlPriorToPipelineSelectWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
||||
bool MemorySynchronizationCommands<GfxFamily>::isBarrierPriorToPipelineSelectWaRequired(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ size_t PreambleHelper<GfxFamily>::getCmdSizeForPipelineSelect(const RootDeviceEn
|
||||
size_t size = 0;
|
||||
using PIPELINE_SELECT = typename GfxFamily::PIPELINE_SELECT;
|
||||
size += sizeof(PIPELINE_SELECT);
|
||||
if (MemorySynchronizationCommands<GfxFamily>::isBarrierlPriorToPipelineSelectWaRequired(rootDeviceEnvironment)) {
|
||||
if (MemorySynchronizationCommands<GfxFamily>::isBarrierPriorToPipelineSelectWaRequired(rootDeviceEnvironment)) {
|
||||
size += sizeof(PIPE_CONTROL);
|
||||
}
|
||||
return size;
|
||||
|
||||
@@ -242,7 +242,7 @@ GEN12LPTEST_F(Gen12LpCoherencyRequirements, givenCoherencyRequirementWithoutShar
|
||||
};
|
||||
|
||||
flushTask(false);
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierlPriorToPipelineSelectWaRequired(device->getRootDeviceEnvironment())) {
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierPriorToPipelineSelectWaRequired(device->getRootDeviceEnvironment())) {
|
||||
findCmd(true, false, true); // first time
|
||||
} else {
|
||||
findCmd(true, false, false); // first time
|
||||
|
||||
@@ -164,7 +164,7 @@ GEN12LPTEST_F(CommandEncodeStatesTest, givenGen12LpPlatformWhenAdjustPipelineSel
|
||||
using PIPELINE_SELECT = typename FamilyType::PIPELINE_SELECT;
|
||||
|
||||
size_t barrierSize = 0;
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierlPriorToPipelineSelectWaRequired(pDevice->getRootDeviceEnvironment())) {
|
||||
if (MemorySynchronizationCommands<FamilyType>::isBarrierPriorToPipelineSelectWaRequired(pDevice->getRootDeviceEnvironment())) {
|
||||
barrierSize = MemorySynchronizationCommands<FamilyType>::getSizeForSingleBarrier(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user