Store StreamProperties in CommandStreamReceiver

Move StreamProperties from CommandQueueHw.

Related-To: NEO-5995

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2021-08-27 15:23:29 +00:00
committed by Compute-Runtime-Automation
parent c6477b1d7c
commit 741fa13507
5 changed files with 10 additions and 8 deletions

View File

@ -10,6 +10,7 @@
#include "shared/source/command_stream/csr_definitions.h"
#include "shared/source/command_stream/csr_properties_flags.h"
#include "shared/source/command_stream/linear_stream.h"
#include "shared/source/command_stream/stream_properties.h"
#include "shared/source/command_stream/submissions_aggregator.h"
#include "shared/source/command_stream/thread_arbitration_policy.h"
#include "shared/source/helpers/aligned_memory.h"
@ -261,6 +262,10 @@ class CommandStreamReceiver {
return useNotifyEnableForPostSync;
}
NEO::StreamProperties &getStreamProperties() {
return this->streamProperties;
}
protected:
void cleanupResources();
void printDeviceIndex();
@ -332,6 +337,7 @@ class CommandStreamReceiver {
uint32_t lastAdditionalKernelExecInfo = AdditionalKernelExecInfo::NotSet;
KernelExecutionType lastKernelExecutionType = KernelExecutionType::Default;
MemoryCompressionState lastMemoryCompressionState = MemoryCompressionState::NotApplicable;
StreamProperties streamProperties{};
const uint32_t rootDeviceIndex;
const DeviceBitfield deviceBitfield;