mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
Expand adjustPipelineSelect parameters
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5c63929473
commit
444b9594af
@@ -147,6 +147,7 @@ void CommandContainer::reset() {
|
||||
iddBlock = nullptr;
|
||||
nextIddInBlock = this->getNumIddPerBlock();
|
||||
lastSentNumGrfRequired = 0;
|
||||
lastPipelineSelectModeRequired = false;
|
||||
}
|
||||
|
||||
void *CommandContainer::getHeapSpaceAllowGrow(HeapType heapType,
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user