mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
refactor: correct expectations in level zero tests if heapless enabled 3/n
Related-To: NEO-10641 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7adfa344c0
commit
6d7e2760dc
@@ -254,6 +254,11 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
return BaseClass::initializeDeviceWithFirstSubmission(device);
|
||||
}
|
||||
|
||||
void programHeaplessStateProlog(Device &device, LinearStream &commandStream) override {
|
||||
this->commandStreamHeaplessStateInit = &commandStream;
|
||||
return BaseClass::programHeaplessStateProlog(device, commandStream);
|
||||
}
|
||||
|
||||
bool writeMemory(GraphicsAllocation &gfxAllocation, bool isChunkCopy, uint64_t gpuVaChunkOffset, size_t chunkSize) override {
|
||||
writeMemoryParams.totalCallCount++;
|
||||
if (isChunkCopy) {
|
||||
@@ -541,6 +546,8 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
|
||||
TaskCountType flushBcsTaskReturnValue{};
|
||||
|
||||
LinearStream *lastFlushedCommandStream = nullptr;
|
||||
LinearStream *commandStreamHeaplessStateInit = nullptr;
|
||||
|
||||
const IndirectHeap *recordedSsh = nullptr;
|
||||
|
||||
std::mutex mutex;
|
||||
|
||||
Reference in New Issue
Block a user