Expand adjustPipelineSelect parameters

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2020-12-21 00:56:30 +00:00
committed by Compute-Runtime-Automation
parent 5c63929473
commit 444b9594af
4 changed files with 6 additions and 2 deletions

View File

@@ -147,6 +147,7 @@ void CommandContainer::reset() {
iddBlock = nullptr;
nextIddInBlock = this->getNumIddPerBlock();
lastSentNumGrfRequired = 0;
lastPipelineSelectModeRequired = false;
}
void *CommandContainer::getHeapSpaceAllowGrow(HeapType heapType,

View File

@@ -86,6 +86,7 @@ class CommandContainer : public NonCopyableOrMovableClass {
uint32_t slmSize = std::numeric_limits<uint32_t>::max();
uint32_t nextIddInBlock = 0;
uint32_t lastSentNumGrfRequired = 0;
bool lastPipelineSelectModeRequired = false;
Device *getDevice() const { return device; }

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020 Intel Corporation
* Copyright (C) 2020-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -256,7 +256,7 @@ struct EncodeComputeMode {
using STATE_COMPUTE_MODE = typename GfxFamily::STATE_COMPUTE_MODE;
static void adjustComputeMode(LinearStream &csr, uint32_t numGrfRequired, void *const stateComputeModePtr, bool isMultiOsContextCapable);
static void adjustPipelineSelect(CommandContainer &container, uint32_t numGrfRequired);
static void adjustPipelineSelect(CommandContainer &container, const NEO::KernelDescriptor &kernelDescriptor);
};
template <typename GfxFamily>